nixpkgs/pkgs/build-support/fetchgit/tests.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
598 B
Nix
Raw Normal View History

{ testers, fetchgit, ... }:
2021-08-28 08:29:10 +00:00
{
simple = testers.invalidateFetcherByDrvHash fetchgit {
2021-08-28 08:29:10 +00:00
name = "nix-source";
url = "https://github.com/NixOS/nix";
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY=";
};
2021-10-07 16:17:41 +00:00
sparseCheckout = testers.invalidateFetcherByDrvHash fetchgit {
2021-10-07 16:17:41 +00:00
name = "nix-source";
url = "https://github.com/NixOS/nix";
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
sparseCheckout = ''
src
tests
'';
sha256 = "sha256-FknO6C/PSnMPfhUqObD4vsW4PhkwdmPa9blNzcNvJQ4=";
};
2021-08-28 08:29:10 +00:00
}