* Add a simple standard environment for FreeBSD.
* Use the system Perl on all non-i686-linux platforms. * Don't build Python support in libxml2 on most platforms. svn path=/nixpkgs/trunk/; revision=3019
This commit is contained in:
19
pkgs/stdenv/freebsd/default.nix
Normal file
19
pkgs/stdenv/freebsd/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{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";
|
||||
}
|
||||
1
pkgs/stdenv/freebsd/prehook.sh
Normal file
1
pkgs/stdenv/freebsd/prehook.sh
Normal file
@@ -0,0 +1 @@
|
||||
export NIX_ENFORCE_PURITY=
|
||||
Reference in New Issue
Block a user