From 7593d8fdb8a8639cf10300603d487122ee1262bf Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 17 Aug 2011 22:06:59 +0000 Subject: [PATCH] blcr: Use the modDirVersion attribute to access the module dir svn path=/nixpkgs/trunk/; revision=28648 --- pkgs/os-specific/linux/blcr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/blcr/default.nix b/pkgs/os-specific/linux/blcr/default.nix index ce7437100d75..afe627f78866 100644 --- a/pkgs/os-specific/linux/blcr/default.nix +++ b/pkgs/os-specific/linux/blcr/default.nix @@ -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 ) '';