nixos/hadoop: allow overriding conf files generated by site options with extraconfdirs
This commit is contained in:
parent
1285a586c5
commit
d1af9d1517
1 changed files with 1 additions and 1 deletions
|
@ -41,5 +41,5 @@ pkgs.runCommand "hadoop-conf" {} (with cfg; ''
|
|||
cp ${pkgs.writeTextDir "hadoop-user-functions.sh" userFunctions}/* $out/
|
||||
cp ${pkgs.writeTextDir "hadoop-env.sh" hadoopEnv}/* $out/
|
||||
cp ${log4jProperties} $out/log4j.properties
|
||||
${lib.concatMapStringsSep "\n" (dir: "cp -r ${dir}/* $out/") extraConfDirs}
|
||||
${lib.concatMapStringsSep "\n" (dir: "cp -f -r ${dir}/* $out/") extraConfDirs}
|
||||
'')
|
||||
|
|
Loading…
Reference in a new issue