mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 02:46:28 +00:00
82e678362f
svn path=/nixpkgs/trunk/; revision=4335
22 lines
513 B
Bash
22 lines
513 B
Bash
source $stdenv/setup
|
|
source $makeWrapper
|
|
|
|
postInstall=postInstall
|
|
postInstall() {
|
|
mv $out/bin $out/bin-orig
|
|
mkdir $out/bin
|
|
|
|
for i in $out/bin-orig/*; do
|
|
echo "wrapping $(basename $i)"
|
|
# !!! TODO: figure out the MONO_GAC_PREFIX automatically
|
|
makeWrapper "$i" "$out/bin/$(basename $i)" \
|
|
--suffix PATH ':' "$(dirname $(type -p mono))" \
|
|
--suffix MONO_GAC_PREFIX ':' "$gtksharp" \
|
|
--suffix MONO_GAC_PREFIX ':' "$out"
|
|
done
|
|
}
|
|
|
|
genericBuild
|
|
|
|
|