let nixpkgs-updater use the nix-community cache

This commit is contained in:
zimbatm 2020-08-07 19:59:15 +02:00
parent b9135bd585
commit ead12a2499
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
2 changed files with 1 additions and 21 deletions

View file

@ -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

View file

@ -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";