nixos/etc: use runCommandLocal (#133037)
Instead of setting preferLocalBuild & allowSubstitutes explicitly, use runCommandLocal which sets the same options.
This commit is contained in:
parent
8fa19a7a6c
commit
06667df72b
1 changed files with 1 additions and 4 deletions
|
@ -8,10 +8,7 @@ let
|
|||
|
||||
etc' = filter (f: f.enable) (attrValues config.environment.etc);
|
||||
|
||||
etc = pkgs.runCommand "etc" {
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
||||
etc = pkgs.runCommandLocal "etc" {
|
||||
# This is needed for the systemd module
|
||||
passthru.targets = map (x: x.target) etc';
|
||||
} /* sh */ ''
|
||||
|
|
Loading…
Reference in a new issue