pinentry-rofi: add rofi and coreutils to runtime PATH (#366240)
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
autoconf-archive,
|
||||
guile,
|
||||
texinfo,
|
||||
makeWrapper,
|
||||
rofi,
|
||||
coreutils,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -26,11 +28,20 @@ stdenv.mkDerivation rec {
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
texinfo
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [ guile ];
|
||||
|
||||
propagatedBuildInputs = [ rofi ];
|
||||
# pinentry-rofi wants to call `env rofi` (https://github.com/plattfot/pinentry-rofi/blob/fde8e32b8380512e2ba02961ccc99765575e2c89/pinentry-rofi.scm#L338)
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pinentry-rofi --prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
rofi
|
||||
coreutils
|
||||
]
|
||||
}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rofi frontend to pinentry";
|
||||
|
||||
Reference in New Issue
Block a user