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