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