From 6f6fc429179c29863ce8ed870ec3158f42e4b232 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Fri, 25 Aug 2006 23:34:31 +0000 Subject: [PATCH] instructions for gcc svn path=/nixpkgs/trunk/; revision=6248 --- maintainers/docs/create-new-static-env | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/maintainers/docs/create-new-static-env b/maintainers/docs/create-new-static-env index feb3a976ab9..eebbb9496e7 100644 --- a/maintainers/docs/create-new-static-env +++ b/maintainers/docs/create-new-static-env @@ -4,3 +4,16 @@ Creating a new static stdenv When Nix is ported to a new (Linux) platform and you want to have a completely pure setup for the stdenv (for example for NixOS) it is necessary to rebuild the static tools. + +The challenge is that there is no Nix environment yet, for bootstrapping. +The first task is to create all the tools that are necessary. For most tools +there are ready made Nix expressions. + + + GCC + +There is an expression gcc-static-3.4. Depending on whether or not you already +have an environment built with Nix (x86-linux: yes, rest: not yet) you should +set the noSysDirs parameter in all-packages.nix. If there is an environment, +leave it, but if the system is still impure (like most systems), set noSysDirs +to false.