nix: Allow changing to a fork in nixpkgs-version.nix

This commit is contained in:
Wolfgang Walther
2024-04-20 17:06:29 +02:00
committed by Wolfgang Walther
parent 87a463f857
commit b6a50ab8ed
3 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -22,10 +22,10 @@ let
# Nix files that describe the Nixpkgs repository. We evaluate the expression
# using `import` below.
nixpkgs =
nixpkgs = with nixpkgsVersion;
builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/${nixpkgsVersion.rev}.tar.gz";
sha256 = nixpkgsVersion.tarballHash;
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
sha256 = tarballHash;
};
nixpkgs-patched = (import nixpkgs { inherit overlays system; }).applyPatches {