Enable setting the headersSrc so the default kernel can be updated without rebuilding stdenv

svn path=/nixpkgs/branches/stdenv-updates/; revision=29547
This commit is contained in:
Shea Levy
2011-09-30 15:37:35 +00:00
parent dcef7ad3bf
commit c10d43d3bd
2 changed files with 5 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ in
stdenv.mkDerivation {
name = "linux-headers-${version}";
src = kernel.src;
src = kernel.headersSrc;
targetConfig = if (cross != null) then cross.config else null;