yad: fix gcc5 build

https://hydra.nixos.org/build/33612450/nixlog/1/raw
This commit is contained in:
Joachim Fasting 2016-03-26 15:49:28 +01:00
parent a4ed052407
commit 0b060bdf68

View File

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
"--enable-icon-browser"
];
# for gcc5: c11 inline semantics breaks the build
NIX_CFLAGS_COMPILE = "-fgnu89-inline";
buildInputs = [ gtk2 ];
nativeBuildInputs = [ pkgconfig intltool ];