From 762c6b1b76c1042b32bc5eb7696491a8a715605e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 23 Sep 2012 21:41:24 +0200 Subject: [PATCH] cryptodev: fixing build problems Some paths/vars were wrong. --- pkgs/os-specific/linux/cryptodev/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/cryptodev/default.nix b/pkgs/os-specific/linux/cryptodev/default.nix index 4d748903493..c64d47d0d4d 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