mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
Merge pull request #2201 from offlinehacker/pkgs/postgresql93/darwin_fix
postgresql93: fix darwin builds
This commit is contained in:
commit
3befd72618
|
@ -1,5 +1,7 @@
|
|||
{ stdenv, fetchurl, zlib, readline, libossp_uuid }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let version = "9.3.3"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -10,13 +12,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "e925d8abe7157bd8bece6b7c0dd0c343d87a2b4336f85f4681ce596af99c3879";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib readline libossp_uuid ];
|
||||
buildInputs = [ zlib readline ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [ "world" ];
|
||||
|
||||
configureFlags =
|
||||
configureFlags = optional (!stdenv.isDarwin)
|
||||
''
|
||||
--with-ossp-uuid
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue