about summary refs log tree commit diff
path: root/pkgs/dwm/default.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-17 22:25:49 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-17 22:25:49 +0200
commit615680844198513bd7fdded72c433741ed4cd433 (patch)
treee81bb9c22416f9143bf83f7757f6b23463c3b245 /pkgs/dwm/default.nix
parentb13152b9bc94c2660bdb977f738f5b18f96a14d1 (diff)
downloadpnpkgs-615680844198513bd7fdded72c433741ed4cd433.tar.gz
pnpkgs-615680844198513bd7fdded72c433741ed4cd433.zip
Make dwm patchable
Diffstat (limited to 'pkgs/dwm/default.nix')
-rw-r--r--pkgs/dwm/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/dwm/default.nix b/pkgs/dwm/default.nix
index a0797a1..9e963b5 100644
--- a/pkgs/dwm/default.nix
+++ b/pkgs/dwm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, libX11, libXinerama, libXft }:
+{ stdenv, fetchgit, libX11, libXinerama, libXft, patches ? [] }:
 
 with stdenv.lib;
 
@@ -15,11 +15,7 @@ stdenv.mkDerivation rec {
 
   prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
 
-  patches = [
-    ./dwm-systray.diff
-    ./dwm-center.diff
-    ./dwm-apps.diff
-  ];
+  inherit patches;
 
   buildPhase = " make ";