summary refs log tree commit diff
path: root/pkgs/os-specific/linux/klibc/shrunk.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2008-05-22 12:01:24 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2008-05-22 12:01:24 +0000
commit0aea0db581e84c11556d0ee5c473848f343cc6bb (patch)
tree51e5ff877032544013d1aa8634f6d5d80c72f656 /pkgs/os-specific/linux/klibc/shrunk.nix
parentc741baeb4e1743aee549676fd4a357eb33b3737b (diff)
downloadnixpkgs-0aea0db581e84c11556d0ee5c473848f343cc6bb.tar
nixpkgs-0aea0db581e84c11556d0ee5c473848f343cc6bb.tar.gz
nixpkgs-0aea0db581e84c11556d0ee5c473848f343cc6bb.tar.bz2
nixpkgs-0aea0db581e84c11556d0ee5c473848f343cc6bb.tar.lz
nixpkgs-0aea0db581e84c11556d0ee5c473848f343cc6bb.tar.xz
nixpkgs-0aea0db581e84c11556d0ee5c473848f343cc6bb.tar.zst
nixpkgs-0aea0db581e84c11556d0ee5c473848f343cc6bb.zip
* Put all packages that depend on a specific kernel (notably kernel
  modules) together in an attribute set returned by the function
  "kernelPackagesFor" that takes a kernel as argument.  For instance,
  kernelPackages_2_6_23 is the result of calling this function with
  kernel_2_6_23.

  This is necessary in NixOS to make it easier to override the kernel:
  it's not enough to just specify a different kernel (via the
  boot.kernel option), but you also need matching nvidiaDriver, aufs,
  iwlwifi, etc.  Having a single attribute set that contains all
  kernel-related packages makes this much easier.

* The kernel now has a passthru attribute "features" that allows NixOS
  expressions to test whether a kernel has certain features.  For
  instance, the externel "iwlwifi" kernel module package should only
  be built on kernels < 2.6.24, as kernels >= 2.6.24 have iwlwifi
  support integrated.  So the NixOS expressions can do the test
  "kernel.features ? iwlwifi" to see if the iwlwifi package should be
  built.

  Kernel patches can declare additional features.  E.g., the fbsplash
  patch adds a "fbSplash" feature.

svn path=/nixpkgs/trunk/; revision=11881
Diffstat (limited to 'pkgs/os-specific/linux/klibc/shrunk.nix')
-rw-r--r--pkgs/os-specific/linux/klibc/shrunk.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/klibc/shrunk.nix b/pkgs/os-specific/linux/klibc/shrunk.nix
index 828e4691623..f45067565ab 100644
--- a/pkgs/os-specific/linux/klibc/shrunk.nix
+++ b/pkgs/os-specific/linux/klibc/shrunk.nix
@@ -1,7 +1,7 @@
 {stdenv, klibc}:
 
 stdenv.mkDerivation {
-  name = "${klibc.name}";
+  name = "${klibc.name}-shrunk";
   buildCommand = ''
     ensureDir $out/lib
     cp -prd ${klibc}/lib/klibc/bin $out/