Skip to content

Commit

Permalink
postgresql: Fix cross compilation
Browse files Browse the repository at this point in the history
b1548ce dropped the C compiler prefix
  • Loading branch information
John Ericson authored and vcunat committed Aug 20, 2018
1 parent 153a19d commit 440ac01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/servers/sql/postgresql/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 440ac01

Please sign in to comment.