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:
Felix Richter 2016-11-10 01:42:18 +01:00 committed by Franz Pletz
parent 1034339ace
commit f1ebae152d

View File

@ -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