mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
22 lines
601 B
Nix
22 lines
601 B
Nix
{ invalidateFetcherByDrvHash, fetchgit, ... }:
|
|
|
|
{
|
|
simple = invalidateFetcherByDrvHash fetchgit {
|
|
name = "nix-source";
|
|
url = "https://github.com/NixOS/nix";
|
|
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
|
|
sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY=";
|
|
};
|
|
|
|
sparseCheckout = invalidateFetcherByDrvHash fetchgit {
|
|
name = "nix-source";
|
|
url = "https://github.com/NixOS/nix";
|
|
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
|
|
sparseCheckout = ''
|
|
src
|
|
tests
|
|
'';
|
|
sha256 = "sha256-FknO6C/PSnMPfhUqObD4vsW4PhkwdmPa9blNzcNvJQ4=";
|
|
};
|
|
}
|