mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +03:00
build: simply patch application lmdb nix overlay
This commit is contained in:
parent
027c5d4603
commit
3c2beb0fb8
@ -28,12 +28,8 @@ in {
|
|||||||
|
|
||||||
lmdb = prev.lmdb.overrideAttrs (attrs: {
|
lmdb = prev.lmdb.overrideAttrs (attrs: {
|
||||||
patches =
|
patches =
|
||||||
if builtins.currentSystem != "x86_64-darwin"
|
optionalList attrs.patches ++ prev.lib.optional prev.stdenv.isDarwin [
|
||||||
then
|
../pkgs/lmdb/darwin-fsync.patch
|
||||||
attrs.patches
|
];
|
||||||
else
|
|
||||||
optionalList attrs.patches ++ [
|
|
||||||
../pkgs/lmdb/darwin-fsync.patch
|
|
||||||
];
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user