git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15298 from jaym/wmii-which

wmii needs which

commit11df7acf3e8eee07154b2292b197f716f3959201 authorJoachim Fasting <joachifm@users.noreply.github.com> dateSun 8 May 2016, 02:38 (11 years ago) parentecf9fa4bc6f922
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