about summary refs log tree commit diff
path: root/pkgs/development/web/postman/linux.nix
diff options
context:
space:
mode:
authorJohn Rinehart <johnrichardrinehart@gmail.com>2023-09-24 11:56:18 -0700
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-09-24 23:21:55 +0200
commitd1114bc017646168fb52ff3141af6cce43547dfd (patch)
tree89df2e1c1de304e79759db29de91951322f17b25 /pkgs/development/web/postman/linux.nix
parentd3e8006356d89b3b8842622e9234a4e7237afa65 (diff)
postman: add openssl dependency
Diffstat (limited to 'pkgs/development/web/postman/linux.nix')
-rw-r--r--pkgs/development/web/postman/linux.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/web/postman/linux.nix b/pkgs/development/web/postman/linux.nix
index 6a242531edb87..d943a394629db 100644
--- a/pkgs/development/web/postman/linux.nix
+++ b/pkgs/development/web/postman/linux.nix
@@ -36,6 +36,11 @@
 , libxkbcommon
 , libdrm
 , mesa
+# It's unknown which version of openssl that postman expects but it seems that
+# OpenSSL 3+ seems to work fine (cf.
+# https://github.com/NixOS/nixpkgs/issues/254325). If postman breaks apparently
+# around OpenSSL stuff then try changing this dependency version.
+, openssl
 , xorg
 , pname
 , version
@@ -149,5 +154,6 @@ stdenv.mkDerivation rec {
       patchelf --set-rpath "${lib.makeLibraryPath buildInputs}:$ORIGIN" $file
     done
     popd
+    wrapProgram $out/bin/postman --set PATH ${lib.makeBinPath [ openssl ]}
   '';
 }