openssl: use makeBinaryWrapper instead of makeShellWrapper (#340951)

This commit is contained in:
Philip Taron
2024-09-11 04:37:31 -07:00
committed by GitHub
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, buildPackages, perl, coreutils, writeShellScript
, makeWrapper
, makeBinaryWrapper
, withCryptodev ? false, cryptodev
, withZlib ? false, zlib
, enableSSL2 ? false
@@ -70,7 +70,7 @@ let
stdenv.cc.isGNU;
nativeBuildInputs =
lib.optional (!stdenv.hostPlatform.isWindows) makeWrapper
lib.optional (!stdenv.hostPlatform.isWindows) makeBinaryWrapper
++ [ perl ]
++ lib.optionals static [ removeReferencesTo ];
buildInputs = lib.optional withCryptodev cryptodev