Print out the script in use.

This commit is contained in:
niten 2022-05-30 17:02:52 -07:00
parent abb452efd4
commit 046353e691
1 changed files with 16 additions and 14 deletions

View File

@ -27,7 +27,8 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ clojure jre ];
buildInputs = (map (x: x.paths) clj-deps.packages);
buildPhase = ''
buildPhase = let
script = writeShellScript "create-uberjar.sh" ''
HOME=$TEMP/home
mkdir -p $HOME
mkdir -p ${target}
@ -42,6 +43,7 @@ in stdenv.mkDerivation {
:srcs ${concatStringsSep "," src-paths} \
:target ${target}
'';
in "${builtins.trace script script}";
installPhase = ''
mv ${target}/${name}-${version}-standalone.jar $out