Nixpkgs Release Notes
-Release 0.10 (October ???, 2006)
+Release 0.10 (October 11, 2006)This release of Nixpkgs requires Nix
@@ -15,17 +15,108 @@ xlink:href='http://nix.cs.uu.nl/dist/nix/nix-0.10/'>Nix
+ pkgs/system/all-packages-generic.nix
+ is gone, we now just have
+ pkgs/top-level/all-packages.nix that contains
+ all available packages. This should cause much less confusion with
+ users. all-packages.nix is a function that by
+ default returns packages for the current platform, but you can
+ override this by specifying a different system
+ argument.
+
TODO: user configurability. Configuration file in
~/.nixpkgs/config.nix.
+ Support for new platforms:
+
+
+
+ i686-cygwin, i.e., Windows
+ (using Cygwin).
+ The standard environment on i686-cygwin by
+ default builds binaries for the Cygwin environment (i.e., it
+ uses Cygwin tools and produces executables that use the Cygwin
+ library). However, there is also a standard environment that
+ produces binaries that use MinGW. You can use it
+ by calling all-package.nix with the
+ stdenvType argument set to
+ "i686-mingw".
+
+ i686-darwin, i.e., Mac OS X
+ on Intel CPUs.
+
+ powerpc-linux.
+
+ x86_64-linux, i.e., Linux on
+ 64-bit AMD/Intel CPUs. Unlike i686-linux,
+ this platform doesn’t have a pure stdenv
+ yet.
+
+
+
+
+
+
+
The default compiler is now GCC 4.1.1.
- X11 updated to X11R7.1.
+ X11 updated to X.org’s X11R7.1.
- Opera.
+ Notable new packages:
+
+
+ Opera.
+
+ Visual C++ 2005 Express Edition and the Windows
+ SDK.
+
+
+
+ In total there are now around 809 packages in Nixpkgs.
+
+
+
+
+ It is now much easier to
+ override the default C compiler and other tools in
+ stdenv for specific packages.
+ all-packages.nix provides two utility
+ functions for this purpose: overrideGCC and
+ overrideInStdenv. Both take a
+ stdenv and return an augmented
+ stdenv; the formed changes the C compiler, and
+ the latter adds additional packages to the front of
+ stdenv’s initial PATH, allowing
+ tools to be overriden.
+
+ For instance, the package strategoxt
+ doesn’t build with the GNU Make in stdenv
+ (version 3.81), so we call it with an augmented
+ stdenv that uses GNU Make 3.80:
+
+
+strategoxt = (import ../development/compilers/strategoxt) {
+ inherit fetchurl pkgconfig sdf aterm;
+ stdenv = overrideInStdenv stdenv [gnumake380];
+};
+
+ Likewise, there are many packages that don’t compile with the
+ default GCC (4.1.1), but that’s easily fixed:
+
+
+exult = import ../games/exult {
+ inherit fetchurl SDL SDL_mixer zlib libpng unzip;
+ stdenv = overrideGCC stdenv gcc34;
+};
+
+
+
+
+
The following people contributed to this release:
Andres Löh,