Stop echoing the command

This commit is contained in:
niten 2022-05-29 10:58:01 -07:00
parent 4a480afde0
commit 3dcf1c8ed8
1 changed files with 14 additions and 16 deletions

View File

@ -31,23 +31,21 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ clojure ]; nativeBuildInputs = [ clojure ];
buildInputs = (map (x: x.paths) clj-deps.packages); buildInputs = (map (x: x.paths) clj-deps.packages);
buildPhase = let buildPhase = ''
cmd = '' HOME=$TEMP/home
HOME=$TEMP/home mkdir -p $HOME
mkdir -p $HOME mkdir -p ${target}
mkdir -p ${target}
clojure \ clojure \
-Scp .:${build-tools-jar}:${classpath} \ -Scp .:${build-tools-jar}:${classpath} \
-Sdeps ${build-tool-deps} \ -Sdeps ${build-tools-deps} \
-X:build \ -X:build \
lib-uberjar \ lib-uberjar \
:project ${group}/${name} \ :project ${group}/${name} \
:version ${version} \ :version ${version} \
:srcs ${concatStringsSep "," src-paths} \ :srcs ${concatStringsSep "," src-paths} \
:target ${target} :target ${target}
''; '';
in builtins.trace cmd cmd;
installPhase = '' installPhase = ''
mv ${target}/${name}-${version}-standalone.jar $out mv ${target}/${name}-${version}-standalone.jar $out