git.iko.soy/typeable/nixpkgs
on master help sign in
wmii needs which

While wmii will sort of work without it, it breaks before it runs any user configuration which requires me to using the windows key as my modifier.

commitbc6f922eb91987ea7e6bf52bf3619dba9e54a1a4 authorJay Mundrawala <jdmundrawala@gmail.com> dateSun 8 May 2016, 00:06 (11 years ago) parent17f41a7
1 file changed+3−2
pkgs/applications/window-managers/wmii-hg/default.nix+3−2
pkgs/applications/window-managers/wmii-hg/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchhg, pkgconfig, libixp_hg, txt2tags, dash, python
1+{ stdenv, fetchhg, pkgconfig, libixp_hg, txt2tags, dash, python, which
22, libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }:
33
44stdenv.mkDerivation rec {
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
1515 # for dlopen-ing
1616 patchPhase = ''
1717 substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "${libXft}/lib/libXft.so"
18+ substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which"
1819 '';
1920
2021 configurePhase = ''
@@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
2930 EOF
3031 '';
3132
32− buildInputs = [ pkgconfig libixp_hg txt2tags dash python
33+ buildInputs = [ pkgconfig libixp_hg txt2tags dash python which
3334 libX11 libXrender libXext libXinerama libXrandr libXft ];
3435
3536 # For some reason including mercurial in buildInputs did not help