build: simply patch application lmdb nix overlay

This commit is contained in:
Joe Bryan 2021-03-16 15:48:32 -07:00
parent 027c5d4603
commit 3c2beb0fb8

View File

@ -28,12 +28,8 @@ in {
lmdb = prev.lmdb.overrideAttrs (attrs: {
patches =
if builtins.currentSystem != "x86_64-darwin"
then
attrs.patches
else
optionalList attrs.patches ++ [
../pkgs/lmdb/darwin-fsync.patch
];
optionalList attrs.patches ++ prev.lib.optional prev.stdenv.isDarwin [
../pkgs/lmdb/darwin-fsync.patch
];
});
}