summary refs log tree commit diff
path: root/pkgs/applications/networking/irc
diff options
context:
space:
mode:
author7c6f434c <7c6f434c@mail.ru>2022-04-02 12:59:55 +0000
committerGitHub <noreply@github.com>2022-04-02 12:59:55 +0000
commit8188f10752f93f71ac5a0e14ce2748340fa63273 (patch)
tree3bd6c3fc121eef9d211bc74cd293a8920124cccf /pkgs/applications/networking/irc
parent1b4459e127cb7815ae982f8f3770adf05f65a6ba (diff)
parentfd78240ac82ada2b598d4491dbf6ff8622bd3dff (diff)
downloadnixpkgs-8188f10752f93f71ac5a0e14ce2748340fa63273.tar
nixpkgs-8188f10752f93f71ac5a0e14ce2748340fa63273.tar.gz
nixpkgs-8188f10752f93f71ac5a0e14ce2748340fa63273.tar.bz2
nixpkgs-8188f10752f93f71ac5a0e14ce2748340fa63273.tar.lz
nixpkgs-8188f10752f93f71ac5a0e14ce2748340fa63273.tar.xz
nixpkgs-8188f10752f93f71ac5a0e14ce2748340fa63273.tar.zst
nixpkgs-8188f10752f93f71ac5a0e14ce2748340fa63273.zip
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.patch2
-rw-r--r--pkgs/applications/networking/irc/wraith/default.nix6
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 16e65be00a2..2ecba77920e 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 30aec18c107..a8923042c7d 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