From bcb186971fea22f8ae15caf6d6252dcdaa06ec88 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 11 Aug 2020 10:55:51 +0200 Subject: Fix const in C --- pkgs/dmenu/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/dmenu/default.nix') 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)" ]; -- cgit 1.4.1