diff --git a/pkgs/tools/backup/restic/default.nix b/pkgs/tools/backup/restic/default.nix index 26f05d419545..1eb02e9a4834 100644 --- a/pkgs/tools/backup/restic/default.nix +++ b/pkgs/tools/backup/restic/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoPackage, fetchFromGitHub, nixosTests }: buildGoPackage rec { pname = "restic"; @@ -18,6 +18,8 @@ buildGoPackage rec { go run build.go ''; + passthru.tests.restic = nixosTests.restic; + installPhase = '' mkdir -p \ $bin/bin \