* Disable dynamic linking on Cygwin until we figure out how to deal
with the lack of an RPATH. svn path=/nixpkgs/trunk/; revision=5362
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{stdenv, genericStdenv, gccWrapper}:
|
||||
|
||||
genericStdenv {
|
||||
name = "stdenv-native";
|
||||
preHook = ./prehook.sh;
|
||||
initialPath = "/usr/local /usr /";
|
||||
|
||||
inherit stdenv;
|
||||
|
||||
gcc = gccWrapper {
|
||||
name = "gcc-native";
|
||||
nativeTools = true;
|
||||
nativeGlibc = true;
|
||||
nativePrefix = "/usr";
|
||||
inherit stdenv;
|
||||
};
|
||||
|
||||
shell = "/bin/bash";
|
||||
|
||||
extraAttrs = {
|
||||
# Curl should be in /usr/bin or so.
|
||||
curl = null;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export NIX_ENFORCE_PURITY=
|
||||
export configureFlags="$configureFlags --disable-shared"
|
||||
Reference in New Issue
Block a user