mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
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.
This commit is contained in:
parent
17f41a7996
commit
bc6f922eb9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user