diff options
Diffstat (limited to 'pkgs/dwm')
-rw-r--r-- | pkgs/dwm/default.nix | 7 | ||||
-rw-r--r-- | pkgs/dwm/pndwm.nix | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/dwm/default.nix b/pkgs/dwm/default.nix index 0f8eed4..57ef1dc 100644 --- a/pkgs/dwm/default.nix +++ b/pkgs/dwm/default.nix @@ -1,9 +1,10 @@ -{ stdenv, fetchgit, libX11, libXinerama, libXft, libXext, patches ? [] }: +{ stdenv, fetchgit, libX11, libXinerama, libXft, xlibs, patches ? [] }: with stdenv.lib; stdenv.mkDerivation rec { name = "dwm"; + version = "1.0"; src = fetchgit { url = "https://github.com/LukeSmithXYZ/dwm"; @@ -11,13 +12,13 @@ stdenv.mkDerivation rec { sha256 = "1fi0q68zqcmnx4spvjaqlv0k43ij96bz3545qdlc077qhzw2lxxh"; }; - buildInputs = [ libX11 libXinerama libXft libXext ]; + buildInputs = [ libX11 libXinerama libXft xlibs.libXext.dev ]; prePatch = ''sed -i "s@/usr/local@$out@" config.mk''; inherit patches; - buildPhase = " make "; + buildPhase = ''make LDFLAGS="-L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft -lX11-xcb -lxcb -lxcb-res -lXext"''; meta = { homepage = "https://github.com/LukeSmithXYZ/dwm"; diff --git a/pkgs/dwm/pndwm.nix b/pkgs/dwm/pndwm.nix index a4aa6f2..7917c09 100644 --- a/pkgs/dwm/pndwm.nix +++ b/pkgs/dwm/pndwm.nix @@ -6,7 +6,7 @@ let ./dwm-center.diff ./dwm-apps.diff ./dwm-autostart.diff - # ./dwm-rounded.diff + ./dwm-rounded.diff ]; }; in |