about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/dmenu/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/dmenu/default.nix b/pkgs/dmenu/default.nix
index ff83a35..acb275a 100644
--- a/pkgs/dmenu/default.nix
+++ b/pkgs/dmenu/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
 
   preConfigure = ''
     sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk
-    sed 's/static const unsigned int \(.*alpha\) = \(.*\);/#define \1 \2/' config.h
+    sed -i 's/static const unsigned int \(.*alpha\) = \(.*\);/#define \1 \2/' config.h
   '';
 
   makeFlags = [ "CC:=$(CC)" ];