diff options
| author | quapka | 2024-08-08 16:57:53 +0200 |
|---|---|---|
| committer | quapka | 2024-08-08 16:57:53 +0200 |
| commit | 1c78a5cdc2e11bcbba2dfd841fbb1967ecb1f617 (patch) | |
| tree | c1a7c9bdee8ce496b9850c81591801e3133a7205 /flake.nix | |
| parent | cad198bccc95267ca3d4fb6767d795d9c7e477ff (diff) | |
| download | ECTester-1c78a5cdc2e11bcbba2dfd841fbb1967ecb1f617.tar.gz ECTester-1c78a5cdc2e11bcbba2dfd841fbb1967ecb1f617.tar.zst ECTester-1c78a5cdc2e11bcbba2dfd841fbb1967ecb1f617.zip | |
Patch only LibreSSL 3.8.2
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -285,13 +285,17 @@ url = "mirror://openbsd/LibreSSL/${prev.pname}-${version}.tar.gz"; inherit hash; }; - patches = [ - (pkgs.fetchpatch { - url = "https://github.com/libressl/portable/commit/86e4965d7f20c3a6afc41d95590c9f6abb4fe788.patch"; - includes = [ "tests/tlstest.sh" ]; - hash = "sha256-XmmKTvP6+QaWxyGFCX6/gDfME9GqBWSx4X8RH8QbDXA="; - }) - ]; + patches = + if version == "3.8.2" then + [ + (pkgs.fetchpatch { + url = "https://github.com/libressl/portable/commit/86e4965d7f20c3a6afc41d95590c9f6abb4fe788.patch"; + includes = [ "tests/tlstest.sh" ]; + hash = "sha256-XmmKTvP6+QaWxyGFCX6/gDfME9GqBWSx4X8RH8QbDXA="; + }) + ] + else + [ ]; # NOTE: Due to name conflicts between OpenSSL and LibreSSL we need to resolve this manually. # This is not needed for building the individual shims through Nix, as libresslShim build env does not |
