nixos: add preferLocalBuild=true; on derivations for config files
This commit is contained in:
committed by
nix-review
parent
2a81eceeba
commit
a915b33315
@@ -18,7 +18,7 @@ let
|
||||
</configuration>
|
||||
'';
|
||||
|
||||
configDir = pkgs.runCommand "hbase-config-dir" {} ''
|
||||
configDir = pkgs.runCommand "hbase-config-dir" { preferLocalBuild = true; } ''
|
||||
mkdir -p $out
|
||||
cp ${cfg.package}/conf/* $out/
|
||||
rm $out/hbase-site.xml
|
||||
|
||||
Reference in New Issue
Block a user