postgresql: Fix cross compilation

b1548ce080 dropped the C compiler prefix
wip/yesman
John Ericson 6 years ago committed by Vladimír Čunát
parent 153a19df05
commit 440ac01e5a
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 2
      pkgs/servers/sql/postgresql/default.nix

@ -25,7 +25,7 @@ let
NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ];
# Otherwise it retains a reference to compiler and fails; see #44767. TODO: better.
preConfigure = "CC=cc";
preConfigure = "CC=${stdenv.cc.targetPrefix}cc";
configureFlags = [
"--with-openssl"

Loading…
Cancel
Save