diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-03 13:47:41 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-03 14:43:38 +0100 |
commit | c124d44e49ba43216fec31b072896635ba639622 (patch) | |
tree | 5985216d982606dd782d794476f8ee140904b795 /pkgs/applications/virtualization/open-vm-tools | |
parent | cb08ffe4c51b5e7f5aba1ddd73d029aa538abddf (diff) |
open-vm-tools: fix build with gcc9
Diffstat (limited to 'pkgs/applications/virtualization/open-vm-tools')
-rw-r--r-- | pkgs/applications/virtualization/open-vm-tools/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/applications/virtualization/open-vm-tools/default.nix b/pkgs/applications/virtualization/open-vm-tools/default.nix index 49e77a5ec9d8..e4db7ea5994e 100644 --- a/pkgs/applications/virtualization/open-vm-tools/default.nix +++ b/pkgs/applications/virtualization/open-vm-tools/default.nix @@ -46,9 +46,15 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - # igrone glib-2.62 deprecations - # Drop in next stable release. - NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ]; + NIX_CFLAGS_COMPILE = [ + # igrone glib-2.62 deprecations + # Drop in next stable release. + "-DGLIB_DISABLE_DEPRECATION_WARNINGS" + + # fix build with gcc9 + "-Wno-error=address-of-packed-member" + "-Wno-error=format-overflow" + ]; postInstall = '' wrapProgram "$out/etc/vmware-tools/scripts/vmware/network" \ |