diff options
| author | quapka | 2024-07-25 10:46:43 +0200 |
|---|---|---|
| committer | quapka | 2024-07-25 10:46:43 +0200 |
| commit | 36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b (patch) | |
| tree | f7d8b6b98f6c59a0d321161d40f6fc8ec5a06911 /flake.nix | |
| parent | 20633c4bd5dbbfdebace4998d2d13f43e7122915 (diff) | |
| download | ECTester-36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b.tar.gz ECTester-36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b.tar.zst ECTester-36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b.zip | |
Link LibreSSL statically
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -70,7 +70,7 @@ configureFlags = ( prev.configureFlags or [] ) ++ [ "--enable-static" ]; }); cryptopp = pkgs.cryptopp.override { enableStatic = true; }; - libressl = pkgs.libressl.overrideAttrs (_old: rec { + libressl = (pkgs.libressl.override { buildShared = false; } ).overrideAttrs (_old: rec { # devLibPath = pkgs.lib.makeLibraryPath [ pkgs.libressl.dev ]; # pname = "libressl"; # version = "3.9.2"; @@ -101,6 +101,7 @@ cp $dev/lib/pkgconfig/libcrypto.pc $dev/lib/pkgconfig/libresslcrypto.pc sed --in-place --expression 's/-lcrypto/-lresslcrypto/' $dev/lib/pkgconfig/libresslcrypto.pc ln -s $out/lib/libcrypto.so $out/lib/libresslcrypto.so + ln -s $out/lib/libcrypto.a $out/lib/libresslcrypto.a '' ]; @@ -155,10 +156,8 @@ makeWrapper # libraries to test - # openssl_3013 - # boringssl - libressl patched_boringssl + # libressl libtomcrypt libtommath botan2 @@ -209,6 +208,7 @@ libgcrypt libgpg-error opensslx + # libressl patched_boringssl ninja nettle |
