about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/chicken/4/fetchegg/builder.sh
blob: 78535382a7ca53399bb31f84ebfb9305025b6424 (plain) (blame)
1
2
3
4
5
6
7
8
if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
source $stdenv/setup

echo "exporting egg ${eggName} (version $version) into $out"

mkdir -p $out
chicken-install -r "${eggName}:${version}"
cp -r ${eggName}/* $out/