diff options
author | illustris <rharikrishnan95@gmail.com> | 2022-05-16 12:17:11 +0530 |
---|---|---|
committer | pennae <82953136+pennae@users.noreply.github.com> | 2022-08-07 21:21:45 +0200 |
commit | d1af9d1517554acd7b891a27f55689a5b8bf6993 (patch) | |
tree | 718bdb1b0bc78c8c3537b5cb3bf03f28e32171ef /nixos | |
parent | 1285a586c5f0b118931e778764858ee69d10933e (diff) |
nixos/hadoop: allow overriding conf files generated by site options with extraconfdirs
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/cluster/hadoop/conf.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/cluster/hadoop/conf.nix b/nixos/modules/services/cluster/hadoop/conf.nix index 874e3227b74c5..388eaafcc3621 100644 --- a/nixos/modules/services/cluster/hadoop/conf.nix +++ b/nixos/modules/services/cluster/hadoop/conf.nix @@ -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} '') |