Clojure: boot: Add new derivation for boot build tooling

This commit is contained in:
Ragnar Dahlén
2015-01-30 09:33:55 +00:00
parent 85ba5c7bc9
commit aaa6d79300
3 changed files with 42 additions and 0 deletions
@@ -0,0 +1,13 @@
source $stdenv/setup
boot_bin=$out/bin/boot
mkdir -pv $(dirname $boot_bin)
cp -v $src $boot_bin
chmod -v 755 $boot_bin
patchShebangs $boot_bin
wrapProgram $boot_bin \
--set JAVA_HOME "${jdk}" \
--prefix PATH ":" "${jdk}/bin"