Merge pull request #50558 from oxij/pkgs/openssl-fix-cryptodev
openssl: fix `cryptodev` fallout
This commit is contained in:
commit
6093167164
@ -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 = [];
|
||||
|
@ -11692,20 +11692,11 @@ with pkgs;
|
||||
|
||||
inherit (callPackages ../development/libraries/openssl {
|
||||
fetchurl = fetchurlBoot;
|
||||
cryptodevHeaders = linuxPackages.cryptodev.override {
|
||||
fetchurl = fetchurlBoot;
|
||||
onlyHeaders = true;
|
||||
};
|
||||
})
|
||||
openssl_1_0_2
|
||||
openssl_1_1;
|
||||
|
||||
openssl-chacha = callPackage ../development/libraries/openssl/chacha.nix {
|
||||
cryptodevHeaders = linuxPackages.cryptodev.override {
|
||||
fetchurl = fetchurlBoot;
|
||||
onlyHeaders = true;
|
||||
};
|
||||
};
|
||||
openssl-chacha = callPackage ../development/libraries/openssl/chacha.nix { };
|
||||
|
||||
opensubdiv = callPackage ../development/libraries/opensubdiv {
|
||||
cudaSupport = config.cudaSupport or false;
|
||||
@ -14633,6 +14624,8 @@ with pkgs;
|
||||
|
||||
buildLinux = attrs: callPackage ../os-specific/linux/kernel/generic.nix attrs;
|
||||
|
||||
cryptodev = linuxPackages_4_9.cryptodev;
|
||||
|
||||
dpdk = callPackage ../os-specific/linux/dpdk {
|
||||
kernel = null; # dpdk modules are in linuxPackages.dpdk.kmod
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user