be explicit on choice of uuid library

This commit is contained in:
Ding Xiang Fei 2018-07-30 15:47:10 +08:00
parent e8682cafd6
commit c0ca3e36d6

@ -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)