@@ -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