3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/nix/prehook.sh
Rob Vermaas 746c502acc changes for x86_64-darwin support
svn path=/nixpkgs/trunk/; revision=18667
2009-11-27 10:56:07 +00:00

12 lines
394 B
Bash

export NIX_ENFORCE_PURITY=1
export NIX_IGNORE_LD_THROUGH_GCC=1
if test "$system" = "i686-darwin" -o "$system" = "powerpc-darwin" -o "$system" = "x86_64-darwin"; then
export NIX_DONT_SET_RPATH=1
export NIX_NO_SELF_RPATH=1
dontFixLibtool=1
NIX_STRIP_DEBUG=0 # !!! do we still need this?
stripAllFlags=" " # the Darwin "strip" command doesn't know "-s"
xargsFlags=" "
fi