summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv/freebsd/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2005-05-10 12:59:28 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2005-05-10 12:59:28 +0000
commit0217d8b20459a19f9235230f8ad61eebf0eca851 (patch)
treea8470932ad1053d34561e1c3925589f671cc3e6c /pkgs/stdenv/freebsd/default.nix
parentedbfa75d013930f80e890b027869f35c4d100fc2 (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.nix19
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";
+}