Just skip ruby

This commit is contained in:
niten 2022-05-29 10:34:35 -07:00
parent 3fdf0a4063
commit 4c5662ea1e
1 changed files with 11 additions and 9 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, callPackage, jre, ruby, clojure, build-tools-jar, writeScript { lib, stdenv, callPackage, jre, clojure, build-tools-jar, writeScript
, writeText }: , writeText }:
{ src, name, group, version, clj-deps, src-paths }: { src, name, group, version, clj-deps, src-paths }:
@ -42,14 +42,16 @@ in stdenv.mkDerivation {
HOME=$TEMP/home HOME=$TEMP/home
mkdir -p $HOME mkdir -p $HOME
mkdir -p ${target} mkdir -p ${target}
${uberjar-script}
--root=$PWD \ clojure \
--classpath=${classpath} \ -Scp ${classpath} \
--target=${target} \ -Sdeps ${build-tools-deps} \
--project=${group}/${name} \ -T:build \
--version=${version} \ lib-uberjar \
--build-deps=${built-tools-deps} \ :project ${group}/${name} \
--source-paths=${concatStringsSep "," src-paths} :version ${version}" \
:srcs ${concatStringsSep "," src-paths}"
:target ${target}
''; '';
installPhase = '' installPhase = ''