about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/blcr
diff options
context:
space:
mode:
authorMarco Maggesi <maggesi@math.unifi.it>2011-08-17 16:22:20 +0000
committerMarco Maggesi <maggesi@math.unifi.it>2011-08-17 16:22:20 +0000
commitb7b6d4e48023d481f49dbea2ef44241f5fd598d5 (patch)
tree7aeb83f14fa8d733a52c35e7cff5df931f0a50d0 /pkgs/os-specific/linux/blcr
parent46c0976c0abfe60b3d983f878b172781ccc4ec61 (diff)
Symplify expression for BLCR
svn path=/nixpkgs/trunk/; revision=28645
Diffstat (limited to 'pkgs/os-specific/linux/blcr')
-rw-r--r--pkgs/os-specific/linux/blcr/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/blcr/default.nix b/pkgs/os-specific/linux/blcr/default.nix
index d598970a1d0e7..ce7437100d75a 100644
--- a/pkgs/os-specific/linux/blcr/default.nix
+++ b/pkgs/os-specific/linux/blcr/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, kernel, perl, makeWrapper, autoconf, automake, libtool }:
+{ stdenv, fetchurl, kernel, perl, makeWrapper }:
 
 assert stdenv.isLinux;
 
@@ -10,13 +10,12 @@ stdenv.mkDerivation {
     sha256 = "c8243c9a7a215d4fc4e8f2199045711cf711a6f2e0b39a94413478ffae110eac";
   };
 
-  buildInputs = [ perl makeWrapper autoconf automake libtool ];
+  buildInputs = [ perl makeWrapper ];
 
   preConfigure = ''
-    ./autogen.sh
     configureFlagsArray=(
-      --with-linux=$(ls -d ${kernel}/lib/modules/*/build)
-      --with-kmod-dir=$out/lib/modules/$(cd ${kernel}/lib/modules; ls -d 2.6.*)
+      --with-linux=${kernel}/lib/modules/${kernel.version}/build
+      --with-kmod-dir=$out/lib/modules/${kernel.version}
       --with-system-map=${kernel}/System.map
     )
   '';