summary refs log tree commit diff
path: root/pkgs/stdenv/initial/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stdenv/initial/default.nix')
-rw-r--r--pkgs/stdenv/initial/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/stdenv/initial/default.nix b/pkgs/stdenv/initial/default.nix
new file mode 100644
index 000000000000..da0771ce7d26
--- /dev/null
+++ b/pkgs/stdenv/initial/default.nix
@@ -0,0 +1,11 @@
+# Here we construct an absolutely trivial `initial' standard
+# environment.  It's not actually a functional stdenv, since there is
+# not necessarily a working C compiler.  We need this to build
+# gcc-wrapper et al. for the native stdenv.
+
+{system, name}:
+
+derivation {
+  inherit system name;
+  builder = ./builder.sh;
+}
\ No newline at end of file