blcr: Use the modDirVersion attribute to access the module dir

svn path=/nixpkgs/trunk/; revision=28648

Shea Levy 7593d8fd 8db54910

+2 -2
+2 -2
pkgs/os-specific/linux/blcr/default.nix
··· 14 15 preConfigure = '' 16 configureFlagsArray=( 17 - --with-linux=${kernel}/lib/modules/${kernel.version}/build 18 - --with-kmod-dir=$out/lib/modules/${kernel.version} 19 --with-system-map=${kernel}/System.map 20 ) 21 '';
··· 14 15 preConfigure = '' 16 configureFlagsArray=( 17 + --with-linux=${kernel}/lib/modules/${kernel.modDirVersion}/build 18 + --with-kmod-dir=$out/lib/modules/${kernel.modDirVersion} 19 --with-system-map=${kernel}/System.map 20 ) 21 '';