summary refs log tree commit diff
path: root/pkgs/stdenv/initial/builder.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-08 16:02:46 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-08 16:02:46 +0000
commitce50734cf067496ae50d1a6fd139fc03de283cbc (patch)
tree8603be7a557177d8646093c4edf7bdb097577b11 /pkgs/stdenv/initial/builder.sh
parent1b8e9faf08d2bb5fe83464d8380dabc52982f935 (diff)
downloadnixlib-ce50734cf067496ae50d1a6fd139fc03de283cbc.tar
nixlib-ce50734cf067496ae50d1a6fd139fc03de283cbc.tar.gz
nixlib-ce50734cf067496ae50d1a6fd139fc03de283cbc.tar.bz2
nixlib-ce50734cf067496ae50d1a6fd139fc03de283cbc.tar.lz
nixlib-ce50734cf067496ae50d1a6fd139fc03de283cbc.tar.xz
nixlib-ce50734cf067496ae50d1a6fd139fc03de283cbc.tar.zst
nixlib-ce50734cf067496ae50d1a6fd139fc03de283cbc.zip
* Started reorganising stdenv:
  - gcc/ld-wrappers have been factored out into a separate
    derivation.  This allows a working gcc to be installed in the user
    environment.  (Previously the Nix gcc didn't work because it
    needed a whole bunch of flags to point to glibc.)
    
  - Better modularity: packages can specify hooks into the setup
    scripts.  For instance, setup no longer knows about the
    PKG_CONFIG_PATH variable; pkgconfig can set it up instead.

  - gcc not longer depends on binutils.  This simplifies the bootstrap
    process.

svn path=/nixpkgs/trunk/; revision=816
Diffstat (limited to 'pkgs/stdenv/initial/builder.sh')
-rwxr-xr-xpkgs/stdenv/initial/builder.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/stdenv/initial/builder.sh b/pkgs/stdenv/initial/builder.sh
new file mode 100755
index 000000000000..8a9f7ab49188
--- /dev/null
+++ b/pkgs/stdenv/initial/builder.sh
@@ -0,0 +1,9 @@
+#! /bin/sh -e
+
+export PATH=/usr/bin:/bin
+
+mkdir $out
+cat > $out/setup <<EOF
+export PATH=/usr/bin:/bin
+EOF
+chmod +x $out/setup