...Why is it working now?
This commit is contained in:
parent
de3b774a77
commit
da554a2ba0
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, build-tools-src, clojure, callPackage, writeText, gitignoreSource
|
||||
, jre, ... }:
|
||||
{ lib, stdenv, build-tools-src, clojure, callPackage, writeText
|
||||
, writeShellScript, gitignoreSource, jre, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
@ -38,7 +38,8 @@ in stdenv.mkDerivation {
|
|||
src = gitignoreSource "${build-tools-src}/src/main/clojure";
|
||||
nativeBuildInputs = [ jre ];
|
||||
buildInputs = map (x: x.paths) cljdeps.packages;
|
||||
buildPhase = ''
|
||||
buildPhase = let
|
||||
build-script = writeShellScript "build.sh" ''
|
||||
mkdir classes
|
||||
HOME=.
|
||||
cp ${./src}/build.clj .
|
||||
|
@ -47,6 +48,7 @@ in stdenv.mkDerivation {
|
|||
(map (java-compile tools-classpath) (all-namespaces ++ [ "'build" ]))}
|
||||
jar cmf ${manifest} ./out.jar -C . cljs cognitect com javax mozilla plugin.xml about.html clojure cognitect_aws_http.edn data_readers.cljc licenses org
|
||||
'';
|
||||
in "${build-script}";
|
||||
|
||||
installPhase = ''
|
||||
cp out.jar $out
|
||||
|
|
Loading…
Reference in New Issue