Permalink
Browse files

openafsClient: Use kernel.dev instead of kernelDev

Doesn't build, out of date

Signed-off-by: Shea Levy <shea@shealevy.com>
  • Loading branch information...
1 parent 5da2121 commit 5d03a4272bb663541978b73c53adaaa17cbe7f08 @shlevy committed Mar 26, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 pkgs/servers/openafs-client/default.nix
View
6 pkgs/servers/openafs-client/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, which, autoconf, automake, flex, yacc,
- kernelDev, glibc, ncurses, perl, krb5 }:
+ kernel, glibc, ncurses, perl, krb5 }:
assert stdenv.isLinux;
stdenv.mkDerivation {
- name = "openafs-1.6.1-${kernelDev.version}";
+ name = "openafs-1.6.1-${kernel.version}";
src = fetchurl {
url = http://www.openafs.org/dl/openafs/1.6.1/openafs-1.6.1-src.tar.bz2;
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
buildInputs = [ autoconf automake flex yacc ncurses perl which ];
preConfigure = ''
- ln -s ${kernelDev}/lib/modules/*/build $TMP/linux
+ ln -s ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build $TMP/linux
patchShebangs .
for i in `grep -l -R '/usr/\(include\|src\)' .`; do

0 comments on commit 5d03a42

Please sign in to comment.