diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-08-11 10:55:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-11 10:55:51 +0200 |
commit | bcb186971fea22f8ae15caf6d6252dcdaa06ec88 (patch) | |
tree | 7eda865cb7d2ba3f6ae925f883f00bde67a80fb8 /pkgs/dmenu/default.nix | |
parent | abb741c64a9c3a86f35d592feb3b76d087c67d6d (diff) | |
download | pnpkgs-bcb186971fea22f8ae15caf6d6252dcdaa06ec88.tar.gz pnpkgs-bcb186971fea22f8ae15caf6d6252dcdaa06ec88.zip |
Fix const in C
Diffstat (limited to 'pkgs/dmenu/default.nix')
-rw-r--r-- | pkgs/dmenu/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/dmenu/default.nix b/pkgs/dmenu/default.nix index f03199b..ff83a35 100644 --- a/pkgs/dmenu/default.nix +++ b/pkgs/dmenu/default.nix @@ -22,6 +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 ''; makeFlags = [ "CC:=$(CC)" ]; |