diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-02-10 23:41:02 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-02-11 00:17:47 +0200 |
commit | 0ed5ba8a64337e5a0ae09317dd8522a759407a73 (patch) | |
tree | 33780adf87139bcd35273200e128a5d505a4fae7 /pkgs/development/java-modules/build-maven-package.nix | |
parent | 6d8c1fe01cd69c9607c62bef76cc895cedf44c39 (diff) |
buildMavenPackage: Use concatStringsSep
Diffstat (limited to 'pkgs/development/java-modules/build-maven-package.nix')
-rw-r--r-- | pkgs/development/java-modules/build-maven-package.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/java-modules/build-maven-package.nix b/pkgs/development/java-modules/build-maven-package.nix index b3c3e1732e0d..499b2c65b770 100644 --- a/pkgs/development/java-modules/build-maven-package.nix +++ b/pkgs/development/java-modules/build-maven-package.nix @@ -13,8 +13,8 @@ in stdenv.mkDerivation rec { propagatedBuildInput = [ maven ] ++ flatDeps; - find = ''find ${foldl' (x: y: x + " " + y) "" (map (x: x + "/m2") flatDeps)} -type d -printf '%P\n' | xargs -I {} mkdir -p $out/m2/{}''; - copy = ''cp -rsfu ${foldl' (x: y: x + " " + y) "" (map (x: x + "/m2/*") flatDeps)} $out/m2''; + find = ''find ${concatStringsSep " " (map (x: x + "/m2") flatDeps)} -type d -printf '%P\n' | xargs -I {} mkdir -p $out/m2/{}''; + copy = ''cp -rsfu ${concatStringsSep " " (map (x: x + "/m2/*") flatDeps)} $out/m2''; phases = [ "unpackPhase" "buildPhase" ]; |