about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/larbs/dwm/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/larbs/dwm/default.nix b/pkgs/larbs/dwm/default.nix
index 8506c9b..fe5c3ae 100644
--- a/pkgs/larbs/dwm/default.nix
+++ b/pkgs/larbs/dwm/default.nix
@@ -18,8 +18,9 @@ in
 
     prePatch = ''
       sed -i "s@/usr/local@$out@" config.mk
-    ''
-    + customConfig;
+    '';
+
+    postPatch = customConfig;
 
     inherit patches;