buildMavenPackage: Use concatStringsSep
This commit is contained in:
parent
6d8c1fe01c
commit
0ed5ba8a64
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user