nixpkgs/pkgs/development/compilers/chicken/5/fetchegg/builder.sh
2018-12-26 22:23:01 -04:00

11 lines
231 B
Bash

source $stdenv/setup
header "exporting egg ${eggName} (version $version) into $out"
mkdir -p $out
CHICKEN_EGG_CACHE=. chicken-install -r "${eggName}:${version}"
rm ${eggName}/{STATUS,TIMESTAMP}
cp -r ${eggName}/* $out/
stopNest