Remove dead code
This commit is contained in:
parent
9a979af1d3
commit
97e9d2b351
@ -7,17 +7,6 @@ import ../generic rec {
|
|||||||
''
|
''
|
||||||
export NIX_ENFORCE_PURITY=1
|
export NIX_ENFORCE_PURITY=1
|
||||||
export NIX_IGNORE_LD_THROUGH_GCC=1
|
export NIX_IGNORE_LD_THROUGH_GCC=1
|
||||||
'' + lib.optionalString stdenv.isDarwin ''
|
|
||||||
export NIX_ENFORCE_PURITY=
|
|
||||||
export NIX_DONT_SET_RPATH=1
|
|
||||||
export NIX_NO_SELF_RPATH=1
|
|
||||||
dontFixLibtool=1
|
|
||||||
stripAllFlags=" " # the Darwin "strip" command doesn't know "-s"
|
|
||||||
xargsFlags=" "
|
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.6
|
|
||||||
export SDKROOT=$(/usr/bin/xcrun --show-sdk-path 2> /dev/null || true)
|
|
||||||
export NIX_CFLAGS_COMPILE+=" --sysroot=/var/empty -idirafter $SDKROOT/usr/include -F$SDKROOT/System/Library/Frameworks -Wno-multichar -Wno-deprecated-declarations"
|
|
||||||
export NIX_LDFLAGS_AFTER+=" -L$SDKROOT/usr/lib"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
||||||
@ -29,11 +18,7 @@ import ../generic rec {
|
|||||||
nativePrefix = stdenv.lib.optionalString stdenv.isSunOS "/usr";
|
nativePrefix = stdenv.lib.optionalString stdenv.isSunOS "/usr";
|
||||||
nativeLibc = true;
|
nativeLibc = true;
|
||||||
inherit stdenv;
|
inherit stdenv;
|
||||||
binutils =
|
binutils = pkgs.binutils;
|
||||||
if stdenv.isDarwin then
|
|
||||||
import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;}
|
|
||||||
else
|
|
||||||
pkgs.binutils;
|
|
||||||
gcc = pkgs.gcc.gcc;
|
gcc = pkgs.gcc.gcc;
|
||||||
coreutils = pkgs.coreutils;
|
coreutils = pkgs.coreutils;
|
||||||
shell = pkgs.bash + "/bin/sh";
|
shell = pkgs.bash + "/bin/sh";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user