|
8 | 8 | v3_6 = { |
9 | 9 | version = "3.6.1"; |
10 | 10 | hash = "sha256-sb/tzVson/Iq7ofJ1gD1FXZ+v0X3cWjLbWTyMfUYqC4="; |
11 | | - patches = |
12 | | - [ |
13 | | - ./3.0/nix-ssl-cert-file.patch |
14 | | - ./3.0/openssl-disable-kernel-detection.patch |
| 11 | + patches = [ |
| 12 | + ./3.0/nix-ssl-cert-file.patch |
| 13 | + ./3.0/openssl-disable-kernel-detection.patch |
15 | 14 |
|
16 | | - ( |
17 | | - if stdenv.hostPlatform.isDarwin then |
18 | | - ./3.5/use-etc-ssl-certs-darwin.patch |
19 | | - else |
20 | | - ./3.5/use-etc-ssl-certs.patch |
21 | | - ) |
22 | | - ] |
23 | | - ++ lib.optionals stdenv.hostPlatform.isMinGW [ |
24 | | - ./3.5/fix-mingw-linking.patch |
25 | | - ] |
26 | | - ++ |
27 | | - lib.optional stdenv.hostPlatform.isCygwin ./openssl-3.0.18-skip-dllmain-detach.patch; |
| 15 | + ( |
| 16 | + if stdenv.hostPlatform.isDarwin then |
| 17 | + ./3.5/use-etc-ssl-certs-darwin.patch |
| 18 | + else |
| 19 | + ./3.5/use-etc-ssl-certs.patch |
| 20 | + ) |
| 21 | + ] |
| 22 | + ++ lib.optionals stdenv.hostPlatform.isMinGW [ |
| 23 | + ./3.5/fix-mingw-linking.patch |
| 24 | + ] |
| 25 | + ++ lib.optional stdenv.hostPlatform.isCygwin ./openssl-3.0.18-skip-dllmain-detach.patch; |
28 | 26 | }; |
29 | 27 | in |
30 | 28 | { |
|
60 | 58 | v3_5 = { |
61 | 59 | version = "3.5.5"; |
62 | 60 | hash = "sha256-soyRUyqLZaH5g7TCi3SIF05KAQCOKc6Oab14nyi8Kok="; |
63 | | - patches = |
64 | | - [ |
65 | | - ./3.0/nix-ssl-cert-file.patch |
66 | | - ./3.0/openssl-disable-kernel-detection.patch |
| 61 | + patches = [ |
| 62 | + ./3.0/nix-ssl-cert-file.patch |
| 63 | + ./3.0/openssl-disable-kernel-detection.patch |
67 | 64 |
|
68 | | - ( |
69 | | - if stdenv.hostPlatform.isDarwin then |
70 | | - ./3.5/use-etc-ssl-certs-darwin.patch |
71 | | - else |
72 | | - ./3.5/use-etc-ssl-certs.patch |
73 | | - ) |
74 | | - ] |
75 | | - ++ lib.optionals stdenv.hostPlatform.isMinGW [ |
76 | | - ./3.5/fix-mingw-linking.patch |
77 | | - ] |
78 | | - ++ |
79 | | - lib.optional stdenv.hostPlatform.isCygwin ./openssl-3.0.18-skip-dllmain-detach.patch; |
| 65 | + ( |
| 66 | + if stdenv.hostPlatform.isDarwin then |
| 67 | + ./3.5/use-etc-ssl-certs-darwin.patch |
| 68 | + else |
| 69 | + ./3.5/use-etc-ssl-certs.patch |
| 70 | + ) |
| 71 | + ] |
| 72 | + ++ lib.optionals stdenv.hostPlatform.isMinGW [ |
| 73 | + ./3.5/fix-mingw-linking.patch |
| 74 | + ] |
| 75 | + ++ lib.optional stdenv.hostPlatform.isCygwin ./openssl-3.0.18-skip-dllmain-detach.patch; |
80 | 76 | }; |
81 | 77 |
|
82 | 78 | inherit v3_6; |
|
0 commit comments