haskellPackages: fix eval of darwin specific overrides
This commit is contained in:
parent
da347ae251
commit
a51a542d60
@ -858,15 +858,15 @@ self: super: builtins.intersectAttrs super {
|
|||||||
'' + (drv.postInstall or "");
|
'' + (drv.postInstall or "");
|
||||||
});
|
});
|
||||||
|
|
||||||
# TODO(@sternenseemann): can we determine this statically in cabal2nix?
|
FractalArt = overrideCabal super.FractalArt (drv: {
|
||||||
FractalArt = super.FractalArt.override
|
librarySystemDepends = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isDarwin [
|
||||||
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
pkgs.darwin.libobjc
|
||||||
objc = pkgs.darwin.libojc;
|
] ++ (drv.librarySystemDepends or []);
|
||||||
});
|
});
|
||||||
|
|
||||||
arbtt = overrideCabal super.arbtt (drv: {
|
arbtt = overrideCabal super.arbtt (drv: {
|
||||||
librarySystemDepends = lib.optionals pkgs.stdenv.hostPlatform.isDarwin [
|
librarySystemDepends = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isDarwin [
|
||||||
pkgs.darwin.apple_sdk.frameworks.Foundation
|
pkgs.darwin.apple_sdk.frameworks.Foundation
|
||||||
] ++ (drv.librarySystemDepends or [])
|
] ++ (drv.librarySystemDepends or []);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user