Commit graph

9 commits

Author SHA1 Message Date
Shea Levy 4fa4ab3a6e Partially revert my recent kernelPackages changes
First, pass in `self' again so that overriding works properly (thanks
for pointing that out, @edolstra)

Second, instead of having linuxPackages*.kernel mean something different
inside the set and out, add a new attribute linuxPackages*.kernelDev,
which for the generic kernel is simply linuxPackages*.kernel but for the
manual-config kernel is the `dev' output (which has the build tree,
source tree, etc.)

The second change required trivial modifications in a bunch of
expressions, I verified that all of the linuxPackages* sets defined in
all-packages.nix have the same drv paths before and after the change.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-24 07:45:00 -04:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Eelco Dolstra 6315177c7f * wis-go7007: updated for Linux 2.6.26.
svn path=/nixpkgs/trunk/; revision=12673
2008-08-21 07:43:38 +00:00
Eelco Dolstra a64c9e4b8f * Some patches to make gorecord more useful.
svn path=/nixpkgs/trunk/; revision=12172
2008-06-20 18:17:27 +00:00
Eelco Dolstra 3736bd0716 * Remove misguided patch.
svn path=/nixpkgs/trunk/; revision=12171
2008-06-20 17:00:12 +00:00
Eelco Dolstra 1f9af0f18d * wis-go7007: make it compile on Linux >= 2.6.24. Added PCI id
093b:a104.

svn path=/nixpkgs/trunk/; revision=12168
2008-06-20 16:09:14 +00:00
Eelco Dolstra 0aea0db581 * 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
2008-05-22 12:01:24 +00:00
Eelco Dolstra 6d07280263 * Use fxload.
svn path=/nixpkgs/trunk/; revision=10488
2008-02-04 08:36:10 +00:00
Eelco Dolstra 3547462f7a * Driver for the Go 7007, used in the Plextor ConvertX USB TV tuner.
Thanks to Martin Bravenboer for donating the hardware :-)
* Latest udev.

svn path=/nixpkgs/trunk/; revision=10452
2008-02-01 23:58:39 +00:00