diff options
author | geistesk <github.jyf300hj@0x21.biz> | 2018-03-20 22:08:16 +0100 |
---|---|---|
committer | geistesk <github.jyf300hj@0x21.biz> | 2018-03-22 10:47:15 +0100 |
commit | 31914502cb4b6657f1509abd7dfdfd503f4645d3 (patch) | |
tree | 1d30275ac8ad21d08fc52ce4a74f478317ba14d7 /pkgs/applications/misc/st | |
parent | 7da0786caaabfef8544674fed88ba8f6e827f21b (diff) |
st: add dmenu dependency
Diffstat (limited to 'pkgs/applications/misc/st')
-rw-r--r-- | pkgs/applications/misc/st/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/misc/st/default.nix b/pkgs/applications/misc/st/default.nix index 825a37faf1ef4..c7512a8ac271f 100644 --- a/pkgs/applications/misc/st/default.nix +++ b/pkgs/applications/misc/st/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchurl, pkgconfig, writeText, libX11, ncurses, libXext, libXft -, fontconfig, conf ? null, patches ? [], extraLibs ? []}: +{ stdenv, fetchurl, pkgconfig, writeText, makeWrapper, libX11, ncurses, libXext +, libXft, fontconfig, dmenu, conf ? null, patches ? [], extraLibs ? []}: with stdenv.lib; @@ -17,11 +17,12 @@ in stdenv.mkDerivation rec { configFile = optionalString (conf!=null) (writeText "config.def.h" conf); preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig makeWrapper ]; buildInputs = [ libX11 ncurses libXext libXft fontconfig ] ++ extraLibs; installPhase = '' TERMINFO=$out/share/terminfo make install PREFIX=$out + wrapProgram "$out/bin/st" --prefix PATH : "${dmenu}/bin" ''; meta = { |