mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
gnome3.vinagre: fix build
Currently, vinagre fails to build with the following message: vinagre/vinagre-utils.c: In function 'vinagre_utils_request_credential': vinagre/vinagre-utils.c:686:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] _tmp12_ = g_strdup_printf (_tmp10_, _tmp11_); ^~~~~~~ vinagre-utils.c seems to be generated from vinagre-utils.vala. I couldn't find anything weird in here, so let's disable -Werror=format-nonliteral for now as done elsewhere, too.
This commit is contained in:
parent
c548814b81
commit
67eaab86b4
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ gtk3 vte libxml2 gtkvnc intltool libsecret
|
||||
itstool makeWrapper gnome3.defaultIconTheme librsvg ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/vinagre" \
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share"
|
||||
|
Loading…
Reference in New Issue
Block a user