* Include the kernel version in kernel-specific packages so that they

can be distinguished in nix-env -qa output.

svn path=/nixpkgs/trunk/; revision=32352
This commit is contained in:
Eelco Dolstra
2012-02-17 14:32:28 +00:00
parent d27f8787f7
commit b23126fcc3
17 changed files with 55 additions and 100 deletions
+2 -11
View File
@@ -1,13 +1,4 @@
{
stdenv,
fetchurl,
perl,
bison,
mktemp,
linuxHeaders,
linuxHeadersCross,
kernel ? null
}:
{ stdenv, fetchurl, perl, bison, mktemp, linuxHeaders, linuxHeadersCross, kernel ? null }:
assert stdenv.isLinux;
@@ -17,7 +8,7 @@ let
in
stdenv.mkDerivation {
name = "klibc-${version}";
name = "klibc-${version}${stdenv.lib.optionalString (kernel != null) "-${kernel.version}"}";
src = fetchurl {
url = "http://ftp.eu.openbsd.org/pub/linux/libs/klibc/1.5/klibc-${version}.tar.bz2";