let nixpkgs-updater use the nix-community cache
This commit is contained in:
parent
b9135bd585
commit
ead12a2499
2 changed files with 1 additions and 21 deletions
|
@ -1,16 +0,0 @@
|
|||
diff --git a/src/Utils.hs b/src/Utils.hs
|
||||
index 00e539e..461b234 100644
|
||||
--- a/src/Utils.hs
|
||||
+++ b/src/Utils.hs
|
||||
@@ -252,7 +252,10 @@ nixBuildOptions =
|
||||
"true",
|
||||
"--option",
|
||||
"restrict-eval",
|
||||
- "true"
|
||||
+ "true",
|
||||
+ "--option",
|
||||
+ "post-build-hook",
|
||||
+ "/run/current-system/sw/bin/true"
|
||||
]
|
||||
<> nixCommonOptions
|
||||
|
|
@ -4,11 +4,7 @@ let
|
|||
userLib = import ../users/lib.nix { inherit lib; };
|
||||
|
||||
sources = import ../nix/sources.nix;
|
||||
nixpkgs-update = (import sources.nixpkgs-update {}).overrideAttrs(old: {
|
||||
patches = old.patches or [] ++ [
|
||||
./nixpkgs-update-disable-post-build-hook.patch
|
||||
];
|
||||
});
|
||||
nixpkgs-update = import sources.nixpkgs-update { };
|
||||
|
||||
nixpkgs-update-bin = "${nixpkgs-update}/bin/nixpkgs-update";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue