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

svn path=/nixpkgs/branches/stdenv-updates/; revision=29548
This commit is contained in:
Shea Levy
2011-09-30 15:39:47 +00:00
parent c10d43d3bd
commit 1a7554562f
2 changed files with 5 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
assert cross == null -> stdenv.isLinux;
let
version = kernel.version;
version = kernel.headersVersion;
kernelHeadersBaseConfig = if (cross == null) then
stdenv.platform.kernelHeadersBaseConfig
else