nixpkgs/pkgs/development/compilers/ghc/boot.sh

12 lines
273 B
Bash
Raw Normal View History

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