diff options
author | aszlig <aszlig@nix.build> | 2018-06-29 22:22:57 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-06-29 22:42:16 +0200 |
commit | b70ccf8a7b9571cc7a6daeb46daee460ada04057 (patch) | |
tree | d323a7b3e5b3442f84e4e3047ea4ff50307feb14 /pkgs/applications | |
parent | 79b33a2c0074e35460c3fffb8e2378e033a9a70b (diff) |
cbatticon: Fix build by removing -Wno-format
This conflicts with -Werror=format-security and the build doesn't have
any format security problems, so -Wno-format IMHO shouldn't be there in
the first place.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @domenkozar
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/cbatticon/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/cbatticon/default.nix b/pkgs/applications/misc/cbatticon/default.nix index 01511b41b08d..f4ba30080f71 100644 --- a/pkgs/applications/misc/cbatticon/default.nix +++ b/pkgs/applications/misc/cbatticon/default.nix @@ -12,6 +12,10 @@ stdenv.mkDerivation rec { sha256 = "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6"; }; + patchPhase = '' + sed -i -e 's/ -Wno-format//g' Makefile + ''; + makeFlags = "PREFIX=$(out)"; nativeBuildInputs = [ pkgconfig gettext ]; |