nixpkgs/pkgs/development/compilers/ghc/boot.sh
Andres Löh 6710a5e02f * make ghcboot work on 64-bit
svn path=/nixpkgs/trunk/; revision=9067
2007-08-07 23:59:08 +00:00

11 lines
253 B
Bash

source $stdenv/setup
postBuild=postBuild
postBuild () {
find . -type f -perm +100 \
-exec patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
--set-rpath "$readline/lib:$ncurses/lib:$gmp/lib" {} \;
}
genericBuild