libjson: fixup build with gcc 11

https://hydra.nixos.org/build/173712527
This commit is contained in:
Vladimír Čunát 2022-04-17 10:43:06 +02:00
parent f1a4f201d2
commit a735e0b978
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
patches = [ ./install-fix.patch ];
nativeBuildInputs = [ unzip ];
makeFlags = [ "prefix=$(out)" ];
NIX_CFLAGS_COMPILE = [ "-std=c++11" ];
preInstall = "mkdir -p $out/lib";
meta = with lib; {