We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a21ca2 + 17f32f3 commit ce5e53aCopy full SHA for ce5e53a
pkgs/by-name/pi/pinentry-rofi/package.nix
@@ -7,7 +7,9 @@
7
autoconf-archive,
8
guile,
9
texinfo,
10
+ makeWrapper,
11
rofi,
12
+ coreutils,
13
}:
14
15
stdenv.mkDerivation rec {
@@ -26,11 +28,20 @@ stdenv.mkDerivation rec {
26
28
autoreconfHook
27
29
pkg-config
30
texinfo
31
+ makeWrapper
32
];
33
34
buildInputs = [ guile ];
35
- propagatedBuildInputs = [ rofi ];
36
+ # pinentry-rofi wants to call `env rofi` (https://github.com/plattfot/pinentry-rofi/blob/fde8e32b8380512e2ba02961ccc99765575e2c89/pinentry-rofi.scm#L338)
37
+ postInstall = ''
38
+ wrapProgram $out/bin/pinentry-rofi --prefix PATH : ${
39
+ lib.makeBinPath [
40
+ rofi
41
+ coreutils
42
+ ]
43
+ }
44
+ '';
45
46
meta = with lib; {
47
description = "Rofi frontend to pinentry";
0 commit comments