libjson: fixup build with gcc 11
https://hydra.nixos.org/build/173712527
This commit is contained in:
parent
f1a4f201d2
commit
a735e0b978
|
@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
patches = [ ./install-fix.patch ];
|
patches = [ ./install-fix.patch ];
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
makeFlags = [ "prefix=$(out)" ];
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-std=c++11" ];
|
||||||
preInstall = "mkdir -p $out/lib";
|
preInstall = "mkdir -p $out/lib";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue