git.iko.soy/typeable/nixpkgs
on master help sign in
buildMavenPackage: Use concatStringsSep
commit0ed5ba8a64337e5a0ae09317dd8522a759407a73 authorTuomas Tynkkynen <tuomas@tuxera.com> dateSat 10 Feb 2018, 23:41 (9 years ago) parent6d8c1fe
1 file changed+2−2
pkgs/development/java-modules/build-maven-package.nix+2−2
pkgs/development/java-modules/build-maven-package.nix+2−2
@@ -13,8 +13,8 @@ in stdenv.mkDerivation rec {
1313
1414 propagatedBuildInput = [ maven ] ++ flatDeps;
1515
16− find = ''find ${foldl' (x: y: x + " " + y) "" (map (x: x + "/m2") flatDeps)} -type d -printf '%P\n' | xargs -I {} mkdir -p $out/m2/{}'';
17− copy = ''cp -rsfu ${foldl' (x: y: x + " " + y) "" (map (x: x + "/m2/*") flatDeps)} $out/m2'';
16+ find = ''find ${concatStringsSep " " (map (x: x + "/m2") flatDeps)} -type d -printf '%P\n' | xargs -I {} mkdir -p $out/m2/{}'';
17+ copy = ''cp -rsfu ${concatStringsSep " " (map (x: x + "/m2/*") flatDeps)} $out/m2'';
1818
1919 phases = [ "unpackPhase" "buildPhase" ];
2020