diff --git a/doc/release-notes.xml b/doc/release-notes.xml index 0d119e17be1..be5682021df 100644 --- a/doc/release-notes.xml +++ b/doc/release-notes.xml @@ -5,6 +5,103 @@ Nixpkgs Release Notes +
Release 0.11 (TBA) + +This release has the following improvements: + + + + The standard build environment + (stdenv) is now pure on the + x86_64-linux and powerpc-linux + platforms, just like i686-linux. (Purity means + that building and using the standard environment has no dependencies + outside of the Nix store. For instance, it doesn’t require an + external C compiler such as /usr/bin/gcc.) + Also, the statically linked binaries used in the bootstrap process + are now automatically reproducible, making it easy to update the + bootstrap tools and to add support for other Linux platforms. See + pkgs/stdenv/linux/make-bootstrap-tools.nix for + details. + + + Hook variables in the generic builder are now + executed using the eval shell command. This + has a major advantage: you can write hooks directly in Nix + expressions. For instance, rather than write a builder like this: + + +source $stdenv/setup + +postInstall=postInstall +postInstall() { + ln -sf gzip $out/bin/gunzip + ln -sf gzip $out/bin/zcat +} + +genericBuild + + (the gzip builder), you can just add this + attribute to the derivation: + + +postInstall = "ln -sf gzip $out/bin/gunzip; ln -sf gzip $out/bin/zcat"; + + and so a separate build script becomes unnecessary. This should + allow us to get rid of most builders in Nixpkgs. + + + It is now possible to have the generic builder pass + arguments to configure and + make that contain whitespace. Previously, for + example, you could say in a builder, + + +configureFlags="CFLAGS=-O0" + + but not + + +configureFlags="CFLAGS=-O0 -g" + + since the -g would be interpreted as a separate + argument to configure. Now you can say + + +configureFlagsArray=("CFLAGS=-O0 -g") + + or similarly + + +configureFlagsArray=("CFLAGS=-O0 -g" "LDFLAGS=-L/foo -L/bar") + + which does the right thing. Idem for makeFlags, + installFlags, checkFlags and + distFlags. + + Unfortunately you can't pass arrays to Bash through the + environment, so you can't put the array above in a Nix expression, + e.g., + + +configureFlagsArray = ["CFLAGS=-O0 -g"]; + + since it would just be flattened to a since string. However, you + can use the inline hooks described above: + + +preConfigure = "configureFlagsArray=(\"CFLAGS=-O0 -g\")"; + + + + + + + + +
+ +
Release 0.10 (October 12, 2006) This release of Nixpkgs requires