postgresqlPackages.system_stats: fix build on darwin
The build was failing with: darwin/io_analysis.c:71:21: error: variable length array used [-Werror,-Wvla] char device_name[kMaxDiskNameSize]; ^~~~~~~~~~~~~~~~
This commit is contained in:
parent
d494c4c35a
commit
d1478e78c0
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-/xXnui0S0ZjRw7P8kMAgttHVv8T41aOhM3pM8P0OTig=";
|
||||
};
|
||||
|
||||
buildFlags = [ "PG_CFLAGS=-Wno-error=vla" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user