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

View File

@ -31,9 +31,9 @@ let
"--sysconfdir=/etc" "--sysconfdir=/etc"
"--libdir=$(lib)/lib" "--libdir=$(lib)/lib"
"--with-system-tzdata=${tzdata}" "--with-system-tzdata=${tzdata}"
] ] ++ (
++ lib.optional stdenv.isDarwin "--with-uuid=e2fs" if stdenv.isDarwin then [ "--with-uuid=e2fs" ] else [ "--with-ossp-uuid" ]
++ lib.optional (!stdenv.isDarwin) "--with-ossp-uuid"; );
patches = patches =
[ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch) [ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch)