Skip to content
Browse files

blcr: Use kernel.dev instead of kernelDev

Signed-off-by: Shea Levy <shea@shealevy.com>
  • Loading branch information...
1 parent 45d3898 commit 3cd40a6685a25b66a23dc406c6e8635e88f8891c @shlevy committed
Showing with 6 additions and 6 deletions.
  1. +6 −6 pkgs/os-specific/linux/blcr/default.nix
View
12 pkgs/os-specific/linux/blcr/default.nix
@@ -1,13 +1,13 @@
-{ stdenv, fetchurl, kernelDev, perl, makeWrapper }:
+{ stdenv, fetchurl, kernel, perl, makeWrapper }:
# BLCR 0.8.4 works for kernel version up to 2.6.38 (including 2.6.38.x)
# BLCR 0.8.5 should works for kernel version up to 3.7.1
assert stdenv.isLinux;
-assert builtins.compareVersions "3.7.2" kernelDev.version == 1;
+assert builtins.compareVersions "3.7.2" kernel.version == 1;
stdenv.mkDerivation {
- name = "blcr_${kernelDev.version}-0.8.5";
+ name = "blcr_${kernel.version}-0.8.5";
src = fetchurl {
url = http://crd.lbl.gov/assets/Uploads/FTG/Projects/CheckpointRestart/downloads/blcr-0.8.5.tar.gz;
@@ -18,9 +18,9 @@ stdenv.mkDerivation {
preConfigure = ''
configureFlagsArray=(
- --with-linux=${kernelDev}/lib/modules/${kernelDev.modDirVersion}/build
- --with-kmod-dir=$out/lib/modules/${kernelDev.modDirVersion}
- --with-system-map=${kernelDev}/System.map
+ --with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build
+ --with-kmod-dir=$out/lib/modules/${kernel.modDirVersion}
+ --with-system-map=${kernel}/System.map
)
'';

0 comments on commit 3cd40a6

Please sign in to comment.
Something went wrong with that request. Please try again.