{fs,h}notify: move to configuration-nix.nix
This commit is contained in:
parent
8e16cee256
commit
71bebd5254
@ -170,17 +170,6 @@ self: super: {
|
|||||||
# https://github.com/jaspervdj/hakyll/issues/491
|
# https://github.com/jaspervdj/hakyll/issues/491
|
||||||
else dontCheck super.hakyll;
|
else dontCheck super.hakyll;
|
||||||
|
|
||||||
# cabal2nix likes to generate dependencies on hinotify when hfsevents is really required
|
|
||||||
# on darwin: https://github.com/NixOS/cabal2nix/issues/146.
|
|
||||||
hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify;
|
|
||||||
|
|
||||||
# FSEvents API is very buggy and tests are unreliable. See
|
|
||||||
# http://openradar.appspot.com/10207999 and similar issues.
|
|
||||||
# https://github.com/haskell-fswatch/hfsnotify/issues/62
|
|
||||||
fsnotify = if pkgs.stdenv.isDarwin
|
|
||||||
then addBuildDepend (dontCheck super.fsnotify) pkgs.darwin.apple_sdk.frameworks.Cocoa
|
|
||||||
else dontCheck super.fsnotify;
|
|
||||||
|
|
||||||
double-conversion = if !pkgs.stdenv.isDarwin
|
double-conversion = if !pkgs.stdenv.isDarwin
|
||||||
then super.double-conversion
|
then super.double-conversion
|
||||||
else addExtraLibrary (overrideCabal super.double-conversion (drv:
|
else addExtraLibrary (overrideCabal super.double-conversion (drv:
|
||||||
|
@ -408,6 +408,17 @@ self: super: builtins.intersectAttrs super {
|
|||||||
testHaskellDepends = (drv.testHaskellDepends or []) ++ [ self.test-framework self.test-framework-hunit ];
|
testHaskellDepends = (drv.testHaskellDepends or []) ++ [ self.test-framework self.test-framework-hunit ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# cabal2nix likes to generate dependencies on hinotify when hfsevents is really required
|
||||||
|
# on darwin: https://github.com/NixOS/cabal2nix/issues/146.
|
||||||
|
hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify;
|
||||||
|
|
||||||
|
# FSEvents API is very buggy and tests are unreliable. See
|
||||||
|
# http://openradar.appspot.com/10207999 and similar issues.
|
||||||
|
# https://github.com/haskell-fswatch/hfsnotify/issues/62
|
||||||
|
fsnotify = if pkgs.stdenv.isDarwin
|
||||||
|
then addBuildDepend (dontCheck super.fsnotify) pkgs.darwin.apple_sdk.frameworks.Cocoa
|
||||||
|
else dontCheck super.fsnotify;
|
||||||
|
|
||||||
hidapi = addExtraLibrary super.hidapi pkgs.libudev;
|
hidapi = addExtraLibrary super.hidapi pkgs.libudev;
|
||||||
|
|
||||||
hs-GeoIP = super.hs-GeoIP.override { GeoIP = pkgs.geoipWithDatabase; };
|
hs-GeoIP = super.hs-GeoIP.override { GeoIP = pkgs.geoipWithDatabase; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user