lol

Merge pull request #196906 from helsinki-systems/feat/less-openssl_1_1

authored by

Lassulus and committed by
GitHub
15a42961 5e41dbf2

+13 -14
+4 -9
pkgs/development/interpreters/python/cpython/default.nix
··· 7 7 , mailcap, mimetypesSupport ? true 8 8 , ncurses 9 9 , openssl 10 - , openssl_1_1 11 10 , readline 12 11 , sqlite 13 12 , tcl ? null, tk ? null, tix ? null, libX11 ? null, xorgproto ? null, x11Support ? false ··· 77 76 with lib; 78 77 79 78 let 80 - # cpython does support/build with openssl 3.0, but some libraries using the ssl module seem to have issues with it 81 - # null check for Minimal 82 - openssl' = if openssl != null then openssl_1_1 else null; 83 - 84 79 buildPackages = pkgsBuildHost; 85 80 inherit (passthru) pythonForBuild; 86 81 ··· 121 116 ]; 122 117 123 118 buildInputs = filter (p: p != null) ([ 124 - zlib bzip2 expat xz libffi gdbm sqlite readline ncurses openssl' ] 119 + zlib bzip2 expat xz libffi gdbm sqlite readline ncurses openssl ] 125 120 ++ optionals x11Support [ tcl tk libX11 xorgproto ] 126 121 ++ optionals (bluezSupport && stdenv.isLinux) [ bluez ] 127 122 ++ optionals stdenv.isDarwin [ configd ]) ··· 327 322 "--with-threads" 328 323 ] ++ optionals (sqlite != null && isPy3k) [ 329 324 "--enable-loadable-sqlite-extensions" 330 - ] ++ optionals (openssl' != null) [ 331 - "--with-openssl=${openssl'.dev}" 325 + ] ++ optionals (openssl != null) [ 326 + "--with-openssl=${openssl.dev}" 332 327 ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 333 328 "ac_cv_buggy_getaddrinfo=no" 334 329 # Assume little-endian IEEE 754 floating point when cross compiling ··· 493 488 # Enforce that we don't have references to the OpenSSL -dev package, which we 494 489 # explicitly specify in our configure flags above. 495 490 disallowedReferences = 496 - lib.optionals (openssl' != null && !static) [ openssl'.dev ] 491 + lib.optionals (openssl != null && !static) [ openssl.dev ] 497 492 ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 498 493 # Ensure we don't have references to build-time packages. 499 494 # These typically end up in shebangs.
+6 -1
pkgs/development/libraries/cyrus-sasl/default.nix
··· 1 - { lib, stdenv, fetchurl, openssl, openldap, libkrb5, db, gettext 1 + { lib, stdenv, fetchurl, fetchpatch, openssl, openldap, libkrb5, db, gettext 2 2 , pam, libxcrypt, fixDarwinDylibNames, autoreconfHook, enableLdap ? false 3 3 , buildPackages, pruneLibtoolFiles, nixosTests }: 4 4 ··· 19 19 patches = [ 20 20 # Fix cross-compilation 21 21 ./cyrus-sasl-ac-try-run-fix.patch 22 + # make compatible with openssl3. can probably be dropped with any release after 2.1.28 23 + (fetchpatch { 24 + url = "https://github.com/cyrusimap/cyrus-sasl/compare/cb549ef71c5bb646fe583697ebdcaba93267a237...c2bd3afbca57f176d8c650670ce371444bb7fcc0.patch"; 25 + hash = "sha256-bYeIkvle1Ms7Lnoob4eLd4RbPFHtPkKRZvfHNCBJY/s="; 26 + }) 22 27 ]; 23 28 24 29 outputs = [ "bin" "dev" "out" "man" "devdoc" ];
+2
pkgs/development/libraries/openldap/default.nix
··· 92 92 preCheck = '' 93 93 substituteInPlace tests/scripts/all \ 94 94 --replace "/bin/rm" "rm" 95 + # fails saying "SASL(-1): generic failure: internal error: failed to init cipher 'rc4'" 96 + rm tests/scripts/test076-authid-rewrite 95 97 ''; 96 98 97 99 doCheck = true;
+1 -4
pkgs/top-level/all-packages.nix
··· 18533 18533 18534 18534 cyrus_sasl = callPackage ../development/libraries/cyrus-sasl { 18535 18535 libkrb5 = if stdenv.isFreeBSD then libheimdal else libkrb5; 18536 - openssl = openssl_1_1; 18537 18536 }; 18538 18537 18539 18538 # Make bdb5 the default as it is the last release under the custom ··· 21632 21631 21633 21632 openexrid-unstable = callPackage ../development/libraries/openexrid-unstable { }; 21634 21633 21635 - openldap = callPackage ../development/libraries/openldap { 21636 - openssl = openssl_1_1; 21637 - }; 21634 + openldap = callPackage ../development/libraries/openldap { }; 21638 21635 21639 21636 opencolorio = darwin.apple_sdk_11_0.callPackage ../development/libraries/opencolorio { 21640 21637 inherit (darwin.apple_sdk_11_0.frameworks) Carbon GLUT Cocoa;