Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkgs/development/libraries/openssl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,6 @@ let
rmdir $etc/etc/ssl/{certs,private}
'' + lib.optionalString (conf != null) ''
cat ${conf} > $etc/etc/ssl/openssl.cnf
'' + lib.optionalString (lib.versionAtLeast version "3.3.0") ''
# cleanup cmake helpers for now (for OpenSSL >= 3.3), only rely on pkg-config.
# pkg-config gets its paths fixed correctly
rm -rf $dev/lib/cmake
'';

postFixup = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
Expand All @@ -237,6 +233,10 @@ let
echo "Found an erroneous dependency on perl ^^^" >&2
exit 1
fi
'' + lib.optionalString (lib.versionAtLeast version "3.3.0") ''
# cleanup cmake helpers for now (for OpenSSL >= 3.3), only rely on pkg-config.
# pkg-config gets its paths fixed correctly
rm -rf $dev/lib/cmake
'';

passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
Expand Down