summary refs log tree commit diff
path: root/pkgs/tools/system
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/tools/system
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/tools/system')
-rw-r--r--pkgs/tools/system/monit/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/monit/default.nix b/pkgs/tools/system/monit/default.nix
index 93fc74f0554..b338f6a80d6 100644
--- a/pkgs/tools/system/monit/default.nix
+++ b/pkgs/tools/system/monit/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
     (lib.withFeature usePAM "pam")
   ] ++ (if useSSL then [
     "--with-ssl-incl-dir=${openssl.dev}/include"
-    "--with-ssl-lib-dir=${openssl.out}/lib"
+    "--with-ssl-lib-dir=${lib.getLib openssl}/lib"
   ] else [
     "--without-ssl"
   ]) ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [