mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
e0c0a344c4
start it). svn path=/nixpkgs/trunk/; revision=4031
15 lines
242 B
Bash
15 lines
242 B
Bash
source $stdenv/setup
|
|
|
|
unzip $src
|
|
|
|
ensureDir $out/jars
|
|
mv */*.jar $out/jars
|
|
jar=$(ls $out/jars/jdiskreport-*.jar)
|
|
|
|
ensureDir $out/bin
|
|
cat > $out/bin/jdiskreport <<EOF
|
|
#! $SHELL -e
|
|
exec $jdk/bin/java -jar $jar
|
|
EOF
|
|
chmod +x $out/bin/jdiskreport
|