diff options
author | Ding Xiang Fei <dingxiangfei2009@gmail.com> | 2018-07-30 15:47:10 +0800 |
---|---|---|
committer | Ding Xiang Fei <dingxiangfei2009@gmail.com> | 2018-07-30 15:47:10 +0800 |
commit | c0ca3e36d61f53c80ae5683ecc139689720cb3ac (patch) | |
tree | b2fa6c454f61739d285c6ed51f4057754c17df20 /pkgs/servers/sql | |
parent | e8682cafd6106ff33a589fc644fa5294a86b14c0 (diff) | |
download | nixlib-c0ca3e36d61f53c80ae5683ecc139689720cb3ac.tar nixlib-c0ca3e36d61f53c80ae5683ecc139689720cb3ac.tar.gz nixlib-c0ca3e36d61f53c80ae5683ecc139689720cb3ac.tar.bz2 nixlib-c0ca3e36d61f53c80ae5683ecc139689720cb3ac.tar.lz nixlib-c0ca3e36d61f53c80ae5683ecc139689720cb3ac.tar.xz nixlib-c0ca3e36d61f53c80ae5683ecc139689720cb3ac.tar.zst nixlib-c0ca3e36d61f53c80ae5683ecc139689720cb3ac.zip |
be explicit on choice of uuid library
Diffstat (limited to 'pkgs/servers/sql')
-rw-r--r-- | pkgs/servers/sql/postgresql/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix index a81e2fb2c8ff..fafb5bfeb92c 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -31,9 +31,9 @@ let "--sysconfdir=/etc" "--libdir=$(lib)/lib" "--with-system-tzdata=${tzdata}" - ] - ++ lib.optional stdenv.isDarwin "--with-uuid=e2fs" - ++ lib.optional (!stdenv.isDarwin) "--with-ossp-uuid"; + ] ++ ( + if stdenv.isDarwin then [ "--with-uuid=e2fs" ] else [ "--with-ossp-uuid" ] + ); patches = [ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch) |