diff options
author | 7c6f434c <7c6f434c@mail.ru> | 2022-04-02 12:59:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-02 12:59:55 +0000 |
commit | 8188f10752f93f71ac5a0e14ce2748340fa63273 (patch) | |
tree | 3bd6c3fc121eef9d211bc74cd293a8920124cccf /pkgs/applications/networking/irc | |
parent | 1b4459e127cb7815ae982f8f3770adf05f65a6ba (diff) | |
parent | fd78240ac82ada2b598d4491dbf6ff8622bd3dff (diff) |
Merge pull request #166430 from alyssais/openssl-static-retry
treewide: use lib.getLib for OpenSSL libraries
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/wraith/configure.patch | 2 | ||||
-rw-r--r-- | pkgs/applications/networking/irc/wraith/default.nix | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/networking/irc/wraith/configure.patch b/pkgs/applications/networking/irc/wraith/configure.patch index 16e65be00a25b..2ecba77920ebc 100644 --- a/pkgs/applications/networking/irc/wraith/configure.patch +++ b/pkgs/applications/networking/irc/wraith/configure.patch @@ -52,7 +52,7 @@ -fi -unset cf_openssl_basedir +SSL_INCLUDES="-I@openssl.dev@/include" -+SSL_LIBS="-L@openssl.out@/lib" ++SSL_LIBS="-L@openssl-lib@/lib" save_CXX="$CXX" CXX="$CXX $SSL_INCLUDES" diff --git a/pkgs/applications/networking/irc/wraith/default.nix b/pkgs/applications/networking/irc/wraith/default.nix index 30aec18c107fb..a8923042c7d61 100644 --- a/pkgs/applications/networking/irc/wraith/default.nix +++ b/pkgs/applications/networking/irc/wraith/default.nix @@ -12,9 +12,9 @@ stdenv.mkDerivation rec { patches = [ ./configure.patch ./dlopen.patch ]; postPatch = '' substituteInPlace configure --subst-var-by openssl.dev ${openssl.dev} \ - --subst-var-by openssl.out ${openssl.out} - substituteInPlace src/libssl.cc --subst-var-by openssl ${openssl.out} - substituteInPlace src/libcrypto.cc --subst-var-by openssl ${openssl.out} + --subst-var-by openssl-lib ${lib.getLib openssl} + substituteInPlace src/libssl.cc --subst-var-by openssl ${lib.getLib openssl} + substituteInPlace src/libcrypto.cc --subst-var-by openssl ${lib.getLib openssl} ''; installPhase = '' mkdir -p $out/bin |