summary refs log tree commit diff
path: root/pkgs/applications/window-managers/wmii-hg
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-05-08 00:06:45 +0000
committerJay Mundrawala <jdmundrawala@gmail.com>2016-05-08 00:06:45 +0000
commitbc6f922eb91987ea7e6bf52bf3619dba9e54a1a4 (patch)
tree7c5d080c91f7cf410c34bbc828b81e08f956bf64 /pkgs/applications/window-managers/wmii-hg
parent17f41a799699480135bc19a4971aa0c957a85b33 (diff)
downloadnixpkgs-bc6f922eb91987ea7e6bf52bf3619dba9e54a1a4.tar
nixpkgs-bc6f922eb91987ea7e6bf52bf3619dba9e54a1a4.tar.gz
nixpkgs-bc6f922eb91987ea7e6bf52bf3619dba9e54a1a4.tar.bz2
nixpkgs-bc6f922eb91987ea7e6bf52bf3619dba9e54a1a4.tar.lz
nixpkgs-bc6f922eb91987ea7e6bf52bf3619dba9e54a1a4.tar.xz
nixpkgs-bc6f922eb91987ea7e6bf52bf3619dba9e54a1a4.tar.zst
nixpkgs-bc6f922eb91987ea7e6bf52bf3619dba9e54a1a4.zip
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.
Diffstat (limited to 'pkgs/applications/window-managers/wmii-hg')
-rw-r--r--pkgs/applications/window-managers/wmii-hg/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/wmii-hg/default.nix b/pkgs/applications/window-managers/wmii-hg/default.nix
index a7d492a05dc..33dcfe8adf4 100644
--- a/pkgs/applications/window-managers/wmii-hg/default.nix
+++ b/pkgs/applications/window-managers/wmii-hg/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchhg, pkgconfig, libixp_hg, txt2tags, dash, python
+{ stdenv, fetchhg, pkgconfig, libixp_hg, txt2tags, dash, python, which
 , libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }:
 
 stdenv.mkDerivation rec {
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
   # for dlopen-ing
   patchPhase = ''
     substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "${libXft}/lib/libXft.so"
+    substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which"
   '';
 
   configurePhase = ''
@@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
     EOF
   '';
 
-  buildInputs = [ pkgconfig libixp_hg txt2tags dash python
+  buildInputs = [ pkgconfig libixp_hg txt2tags dash python which
                   libX11 libXrender libXext libXinerama libXrandr libXft ];
 
   # For some reason including mercurial in buildInputs did not help