x2vnc: set C standard

Use the older standard. New compilers can't handle the old source.
This commit is contained in:
Stanisław Pitucha
2024-06-07 15:03:14 +10:00
parent 4f0a1d2245
commit 8d8a0e2a37
+4 -2
View File
@@ -9,9 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "00bh9j3m6snyd2fgnzhj5vlkj9ibh69gfny9bfzlxbnivb06s1yw";
};
env.NIX_CFLAGS_COMPILE = "-std=gnu89";
buildInputs = with xorg; [
libX11 xorgproto libXext libXrandr
];
libX11 xorgproto libXext libXrandr
];
hardeningDisable = [ "format" ];