C'mon print this shit
This commit is contained in:
parent
c0550af475
commit
6c42b8a4ef
|
@ -19,16 +19,7 @@ let
|
||||||
|
|
||||||
target = "$TEMP/target";
|
target = "$TEMP/target";
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
build-script = writeShellScript "create-uberjar.sh" ''
|
||||||
name = builtins.trace name name;
|
|
||||||
|
|
||||||
src = src;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ clojure jre ];
|
|
||||||
buildInputs = (map (x: x.paths) clj-deps.packages);
|
|
||||||
|
|
||||||
buildPhase = let
|
|
||||||
script = writeShellScript "create-uberjar.sh" ''
|
|
||||||
HOME=$TEMP/home
|
HOME=$TEMP/home
|
||||||
mkdir -p $HOME
|
mkdir -p $HOME
|
||||||
mkdir -p ${target}
|
mkdir -p ${target}
|
||||||
|
@ -43,7 +34,16 @@ in stdenv.mkDerivation {
|
||||||
:srcs ${concatStringsSep "," src-paths} \
|
:srcs ${concatStringsSep "," src-paths} \
|
||||||
:target ${target}
|
:target ${target}
|
||||||
'';
|
'';
|
||||||
script-call = "${script}";
|
|
||||||
|
in stdenv.mkDerivation {
|
||||||
|
name = name;
|
||||||
|
|
||||||
|
src = src;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ clojure jre ];
|
||||||
|
buildInputs = (map (x: x.paths) clj-deps.packages);
|
||||||
|
|
||||||
|
buildPhase = let script-call = "${script}";
|
||||||
in builtins.trace script-call script-call;
|
in builtins.trace script-call script-call;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue