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 11:29:10 +03:00
{
simple = testers.invalidateFetcherByDrvHash fetchgit {
2021-08-28 11:29:10 +03:00
name = "nix-source";
url = "https://github.com/NixOS/nix";
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY=";
};
2021-10-07 19:17:41 +03:00
sparseCheckout = testers.invalidateFetcherByDrvHash fetchgit {
2021-10-07 19:17:41 +03: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 19:17:41 +03:00
sha256 = "sha256-FknO6C/PSnMPfhUqObD4vsW4PhkwdmPa9blNzcNvJQ4=";
};
2021-08-28 11:29:10 +03:00
}