From 985098d4be2c415014587421e9129f08d4ee712d Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Fri, 25 Aug 2006 21:53:26 +0000 Subject: [PATCH] start documenting bootstrapping the static initial stdenv svn path=/nixpkgs/trunk/; revision=6245 --- maintainers/docs/create-new-static-env | 6 ++++++ maintainers/docs/static-initial-env | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 maintainers/docs/create-new-static-env diff --git a/maintainers/docs/create-new-static-env b/maintainers/docs/create-new-static-env new file mode 100644 index 00000000000..feb3a976ab9 --- /dev/null +++ b/maintainers/docs/create-new-static-env @@ -0,0 +1,6 @@ +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. diff --git a/maintainers/docs/static-initial-env b/maintainers/docs/static-initial-env index b834d70faf4..8db23d6f852 100644 --- a/maintainers/docs/static-initial-env +++ b/maintainers/docs/static-initial-env @@ -20,6 +20,9 @@ The tools can be found in nixpkgs in: - tools/text/gnupatch-diet - tools/misc/findutils-static +and +- development/compilers/gcc-static-3.4 + Most packages are compiled with dietlibc, an alternate C library, apart from bash and findutils, which are statically linked to glibc. The reason we chose dietlibc has various reasons. First of all, curl cannot be built