about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/cryptodev/default.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2012-09-23 21:41:24 +0200
committerLluís Batlle i Rossell <viric@viric.name>2012-09-23 21:41:24 +0200
commit762c6b1b76c1042b32bc5eb7696491a8a715605e (patch)
tree15db0dc1991198f3d30645aaa3f3a2d804cfe092 /pkgs/os-specific/linux/cryptodev/default.nix
parent57b578189b4b6c868dc17772e0655347a330e37e (diff)
cryptodev: fixing build problems
Some paths/vars were wrong.
Diffstat (limited to 'pkgs/os-specific/linux/cryptodev/default.nix')
-rw-r--r--pkgs/os-specific/linux/cryptodev/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/cryptodev/default.nix b/pkgs/os-specific/linux/cryptodev/default.nix
index 4d74890349317..c64d47d0d4d6e 100644
--- a/pkgs/os-specific/linux/cryptodev/default.nix
+++ b/pkgs/os-specific/linux/cryptodev/default.nix
@@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
 
   buildPhase = if (!onlyHeaders) then ''
     make -C ${kernel}/lib/modules/${kernel.modDirVersion}/build \
-      INSTALL_PATH=$out
+      SUBDIRS=`pwd` INSTALL_PATH=$out
   '' else ":";
 
   installPhase = stdenv.lib.optionalString (!onlyHeaders) ''
     make -C ${kernel}/lib/modules/${kernel.modDirVersion}/build \
-      INSTALL_PATH=$out SUBDIRS=`pwd` modules_install
+      INSTALL_MOD_PATH=$out SUBDIRS=`pwd` modules_install
   '' + ''
     mkdir -p $out/include/crypto
     cp crypto/cryptodev.h $out/include/crypto