openssl: fix cryptodev fallout from d836b811cb

This commit is contained in:
Jan Malakhovski
2018-11-22 09:45:34 +00:00
parent 617132eba7
commit 7c48015019
3 changed files with 7 additions and 14 deletions
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, perl, zlib
, withCryptodev ? false, cryptodevHeaders
, withCryptodev ? false, cryptodev
}:
with stdenv.lib;
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
setOutputFlags = false;
nativeBuildInputs = [ perl zlib ];
buildInputs = stdenv.lib.optional withCryptodev cryptodevHeaders;
buildInputs = stdenv.lib.optional withCryptodev cryptodev;
configureScript = "./config";
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, buildPackages, perl, coreutils
, withCryptodev ? false, cryptodevHeaders
, withCryptodev ? false, cryptodev
, enableSSL2 ? false
, static ? false
}:
@@ -44,7 +44,7 @@ let
separateDebugInfo = stdenv.hostPlatform.isLinux;
nativeBuildInputs = [ perl ];
buildInputs = stdenv.lib.optional withCryptodev cryptodevHeaders;
buildInputs = stdenv.lib.optional withCryptodev cryptodev;
# TODO(@Ericson2314): Improve with mass rebuild
configurePlatforms = [];