diff options
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/fetchgit/tests.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchgit/tests.nix b/pkgs/build-support/fetchgit/tests.nix new file mode 100644 index 0000000000000..6805473e29685 --- /dev/null +++ b/pkgs/build-support/fetchgit/tests.nix @@ -0,0 +1,10 @@ +{ invalidateFetcherByDrvHash, fetchgit, ... }: + +{ + simple = invalidateFetcherByDrvHash fetchgit { + name = "nix-source"; + url = "https://github.com/NixOS/nix"; + rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; + sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY="; + }; +} |