diff options
| author | makefu <github@syntax-fehler.de> | 2018-11-28 22:19:52 +0100 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2018-11-28 22:19:52 +0100 |
| commit | b9bbbfe22644dd877ed2d37e89efb77917dd909e (patch) | |
| tree | 82fe461bcdf384f3241bcaa7092b5540bddd3a90 /tv/5pkgs/simple/fzmenu/default.nix | |
| parent | 8164cf61f34217656da5e66a0ea06ec96f473930 (diff) | |
| parent | 84c79ff43b2b65bba969aef7460f4a9d2915c112 (diff) | |
Merge remote-tracking branch 'lassul.us/master'
Diffstat (limited to 'tv/5pkgs/simple/fzmenu/default.nix')
| -rw-r--r-- | tv/5pkgs/simple/fzmenu/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tv/5pkgs/simple/fzmenu/default.nix b/tv/5pkgs/simple/fzmenu/default.nix new file mode 100644 index 0000000..c49c903 --- /dev/null +++ b/tv/5pkgs/simple/fzmenu/default.nix @@ -0,0 +1,34 @@ +{ coreutils, dash, gnused, fzf, pass, runCommand, rxvt_unicode, stdenv, utillinux, xdotool }: + +runCommand "fzmenu" { +} /* sh */ '' + mkdir $out + + cp -r ${./bin} $out/bin + + substituteInPlace $out/bin/otpmenu \ + --replace '#! /bin/sh' '#! ${dash}/bin/dash' \ + --replace '#PATH=' PATH=${stdenv.lib.makeBinPath [ + coreutils + dash + fzf + gnused + pass + rxvt_unicode + utillinux + xdotool + ]} + + substituteInPlace $out/bin/passmenu \ + --replace '#! /bin/sh' '#! ${dash}/bin/dash' \ + --replace '#PATH=' PATH=${stdenv.lib.makeBinPath [ + coreutils + dash + fzf + gnused + pass + rxvt_unicode + utillinux + xdotool + ]} +'' |
