mutt: fix smime_keys hard-coded openssl path (#20275)
smime_keys uses hard-coded path to openssl, use path in /nix/store for openssl
This commit is contained in:
parent
1034339ace
commit
f1ebae152d
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1pyns0xw52s4yma1a93pdcl4dirs55q2m1hd7w1r11nlhf7giip9";
|
||||
};
|
||||
|
||||
patchPhase = optionalString (openssl != null) ''
|
||||
sed -i 's#/usr/bin/openssl#${openssl}/bin/openssl#' smime_keys.pl
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
[ ncurses which perl ]
|
||||
++ optional headerCache gdbm
|
||||
|
Loading…
Reference in New Issue
Block a user