3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.cas-store: fix build on darwin by providing kqueue

kqueue is a conditional dependency which is added via a cabal conditional
which we need to emulate manually.
This commit is contained in:
sternenseemann 2021-08-06 03:32:50 +02:00 committed by sternenseemann
parent ff09b0fe44
commit 964abed995

View file

@ -180,6 +180,13 @@ self: super: {
'' + (drv.postPatch or "");
});
# conditional dependency via a cabal flag
cas-store = overrideCabal super.cas-store (drv: {
libraryHaskellDepends = [
self.kqueue
] ++ (drv.libraryHaskellDepends or []);
});
# 2021-05-25: Tests fail and I have no way to debug them.
hls-class-plugin = dontCheck super.hls-class-plugin;
hls-brittany-plugin = dontCheck super.hls-brittany-plugin;