nixpkgs/pkgs/development/compilers/chicken/5/fetchegg/builder.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
266 B
Bash
Raw Normal View History

if [ -e .attrs.sh ]; then source .attrs.sh; fi
2014-10-09 18:49:15 +00:00
source $stdenv/setup
echo "exporting egg ${eggName} (version $version) into $out"
2014-10-09 18:49:15 +00:00
mkdir -p $out
2018-11-14 03:17:50 +00:00
CHICKEN_EGG_CACHE=. chicken-install -r "${eggName}:${version}"
rm ${eggName}/{STATUS,TIMESTAMP}
2014-10-09 18:49:15 +00:00
cp -r ${eggName}/* $out/