about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-08-11 11:08:32 +0200
committerGitHub <noreply@github.com>2020-08-11 11:08:32 +0200
commitb6066a51e3bf50158e15717caa9b463cc0b06373 (patch)
tree0e158760caedf70f55badab0b2c2cad6867a6ad9
parentbcb186971fea22f8ae15caf6d6252dcdaa06ec88 (diff)
downloadpnpkgs-b6066a51e3bf50158e15717caa9b463cc0b06373.tar.gz
pnpkgs-b6066a51e3bf50158e15717caa9b463cc0b06373.zip
sed in place
-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)" ];