diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2018-11-08 11:59:03 +0100 |
---|---|---|
committer | nix-review <nix-review@example.com> | 2019-02-22 20:11:27 +0100 |
commit | a915b33315946b9e7d164d57812ee16172ad65df (patch) | |
tree | c87f6d3bb162737257923a6d917f72f6db77bb45 /nixos/modules/services/networking/dnscache.nix | |
parent | 2a81eceeba6d9b0499c0a9dc569921765321cdd0 (diff) |
nixos: add preferLocalBuild=true; on derivations for config files
Diffstat (limited to 'nixos/modules/services/networking/dnscache.nix')
-rw-r--r-- | nixos/modules/services/networking/dnscache.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dnscache.nix b/nixos/modules/services/networking/dnscache.nix index fc30f50317fe..5051fc916d96 100644 --- a/nixos/modules/services/networking/dnscache.nix +++ b/nixos/modules/services/networking/dnscache.nix @@ -5,7 +5,7 @@ with lib; let cfg = config.services.dnscache; - dnscache-root = pkgs.runCommand "dnscache-root" {} '' + dnscache-root = pkgs.runCommand "dnscache-root" { preferLocalBuild = true; } '' mkdir -p $out/{servers,ip} ${concatMapStrings (ip: '' |