mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
15 lines
240 B
Bash
15 lines
240 B
Bash
source $stdenv/setup
|
|
|
|
unzip $src
|
|
|
|
mkdir -p $out/jars
|
|
mv */*.jar $out/jars
|
|
jar=$(ls $out/jars/jdiskreport-*.jar)
|
|
|
|
mkdir -p $out/bin
|
|
cat > $out/bin/jdiskreport <<EOF
|
|
#! $SHELL -e
|
|
exec $jdk/bin/java -jar $jar
|
|
EOF
|
|
chmod +x $out/bin/jdiskreport
|