3
0
Fork 0
forked from mirrors/nixpkgs

blcr: Use the modDirVersion attribute to access the module dir

svn path=/nixpkgs/trunk/; revision=28648
This commit is contained in:
Shea Levy 2011-08-17 22:06:59 +00:00
parent 8db5491040
commit 7593d8fdb8

View file

@ -14,8 +14,8 @@ stdenv.mkDerivation {
preConfigure = ''
configureFlagsArray=(
--with-linux=${kernel}/lib/modules/${kernel.version}/build
--with-kmod-dir=$out/lib/modules/${kernel.version}
--with-linux=${kernel}/lib/modules/${kernel.modDirVersion}/build
--with-kmod-dir=$out/lib/modules/${kernel.modDirVersion}
--with-system-map=${kernel}/System.map
)
'';