spice-vdagent: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 01:10:07 +01:00
parent cec9a7e93a
commit d25337d16a
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -7,6 +7,7 @@ stdenv.mkDerivation rec {
url = "https://www.spice-space.org/download/releases/${name}.tar.bz2";
sha256 = "1bmyvapwj1x0m6y8q0r1df2q37vsnb04qkgnnrfbnzf1qzipxvl0";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
postPatch = ''
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
'';