diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2021-09-21 14:50:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 14:50:28 +0200 |
commit | 16483464441212d6b0c213c01dc06747d38831ea (patch) | |
tree | 6447b2dd782e89bc2b43fe98a9fdd2c76385fe0b /pkgs/build-support/fetchgit | |
parent | b6e2f5391f184ca8bc5872199cedb06d1cee55b0 (diff) | |
parent | 8651143b791b611ec185fcfed626dff085f7e032 (diff) |
Merge pull request #136022 from hercules-ci/fetcher-testing
Fetcher testing
Diffstat (limited to 'pkgs/build-support/fetchgit')
-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="; + }; +} |