mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
gnome: fix compilation with gcc 11.3.0
A new warning (`-Werror=overlength-strings`) is causing issues due to a recent gcc version upgrade
This commit is contained in:
parent
a97b262ba6
commit
251ab5f3f6
@ -80,6 +80,8 @@ stdenv.mkDerivation rec {
|
||||
pipewire # PipeWire provides a gstreamer plugin for using PipeWire for video
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings";
|
||||
|
||||
postPatch = ''
|
||||
chmod +x meson_post_install.py
|
||||
patchShebangs meson_post_install.py
|
||||
|
@ -69,6 +69,8 @@ stdenv.mkDerivation rec {
|
||||
webkitgtk
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings";
|
||||
|
||||
postPatch = ''
|
||||
chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||
patchShebangs meson_post_install.py
|
||||
|
@ -76,6 +76,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
gst-plugins-ugly
|
||||
]);
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings";
|
||||
|
||||
pythonPath = with python3.pkgs; [
|
||||
pycairo
|
||||
dbus-python
|
||||
|
@ -175,6 +175,8 @@ stdenv.mkDerivation rec {
|
||||
pythonEnv
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings";
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
|
@ -77,6 +77,8 @@ stdenv.mkDerivation rec {
|
||||
xvfb-run
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings";
|
||||
|
||||
mesonFlags = [
|
||||
# TODO: https://github.com/NixOS/nixpkgs/issues/36468
|
||||
"-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
|
||||
|
Loading…
Reference in New Issue
Block a user