mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos: Don't set !allowSubstitutes
(#314664)
It is set by `runCommandLocal` and prevents fetching the build output from `cache.nixos.org` or another trusted substituter.
This commit is contained in:
parent
380d334e82
commit
f6c5531461
14 changed files with 65 additions and 40 deletions
|
@ -30,7 +30,9 @@ let
|
|||
${confServer}
|
||||
${confNoServer}
|
||||
'';
|
||||
confFile = if cfg.checkconf then pkgs.runCommandLocal "unbound-checkconf" { } ''
|
||||
confFile = if cfg.checkconf then pkgs.runCommand "unbound-checkconf" {
|
||||
preferLocalBuild = true;
|
||||
} ''
|
||||
cp ${confFileUnchecked} unbound.conf
|
||||
|
||||
# fake stateDir which is not accessible in the sandbox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue