diff options
| author | Stanisław Pitucha <git@viraptor.info> | 2024-06-06 23:04:32 +1000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-07-31 01:46:00 +0000 |
| commit | 6c42ac102640198fd0f50e155ed95dcdd3a4cb71 (patch) | |
| tree | a06f4244fc0bf4feef994de8a028066110132467 | |
| parent | Merge pull request #331132 from NixOS/backport-331114-to-release-24.05 (diff) | |
| download | nixpkgs-origin/backport-317744-to-release-24.05.tar.gz | |
x2vnc: set C standardorigin/backport-317744-to-release-24.05
Use the older standard. New compilers can't handle the old source.
(cherry picked from commit 8d8a0e2a378479cab9f01ec7b3ac1c51f498ea20)
| -rw-r--r-- | pkgs/tools/X11/x2vnc/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/X11/x2vnc/default.nix b/pkgs/tools/X11/x2vnc/default.nix index bb8525d30916..8debbae2d385 100644 --- a/pkgs/tools/X11/x2vnc/default.nix +++ b/pkgs/tools/X11/x2vnc/default.nix @@ -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" ]; |
