From cf8da224c6dbb4038b935d90df62fa70401cd11d Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 10 Nov 2010 12:55:25 +0000 Subject: [PATCH] fixing wrappers in ant-build svn path=/nixpkgs/trunk/; revision=24637 --- pkgs/build-support/release/ant-build.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/release/ant-build.nix b/pkgs/build-support/release/ant-build.nix index 779841aec6ac..2aa08ee27dec 100644 --- a/pkgs/build-support/release/ant-build.nix +++ b/pkgs/build-support/release/ant-build.nix @@ -52,12 +52,13 @@ stdenv.mkDerivation ( generateWrappersPhase = let - cp = w: "-cp ${lib.optionalString (w ? classPath) w.classPath}${lib.optionalString (w ? mainClass) ":$out/lib/java/${w.jar}"}"; + cp = w: "-cp '${lib.optionalString (w ? classPath) w.classPath}${lib.optionalString (w ? mainClass) ":$out/lib/java/*"}'"; in '' header "Generating jar wrappers" '' + (stdenv.lib.concatMapStrings (w: '' + ensureDir $out/bin cat >> $out/bin/${w.name} <