diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-05-10 12:59:28 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-05-10 12:59:28 +0000 |
commit | 0217d8b20459a19f9235230f8ad61eebf0eca851 (patch) | |
tree | a8470932ad1053d34561e1c3925589f671cc3e6c /pkgs/stdenv/freebsd/default.nix | |
parent | edbfa75d013930f80e890b027869f35c4d100fc2 (diff) |
* 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
Diffstat (limited to 'pkgs/stdenv/freebsd/default.nix')
-rw-r--r-- | pkgs/stdenv/freebsd/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/stdenv/freebsd/default.nix b/pkgs/stdenv/freebsd/default.nix new file mode 100644 index 000000000000..2fa92f7d95ba --- /dev/null +++ b/pkgs/stdenv/freebsd/default.nix @@ -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"; +} |