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

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

34 lines
951 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-g1PHGTWgAcd/+sXHo1o6AjVWCvC6HiocOfMbMh873LQ=";
};
sparseCheckoutNonConeMode = testers.invalidateFetcherByDrvHash fetchgit {
name = "nix-source";
url = "https://github.com/NixOS/nix";
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
sparseCheckout = [
"src"
"tests"
];
nonConeMode = true;
2021-10-07 16:17:41 +00:00
sha256 = "sha256-FknO6C/PSnMPfhUqObD4vsW4PhkwdmPa9blNzcNvJQ4=";
};
2021-08-28 08:29:10 +00:00
}