mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #269955 from Linschlager/hs-hidapi
haskellPackages.hidapi: fix darwin build
This commit is contained in:
commit
2ba415365b
@ -123,6 +123,14 @@ self: super: ({
|
||||
__darwinAllowLocalNetworking = true;
|
||||
});
|
||||
|
||||
hidapi =
|
||||
addExtraLibraries [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk.frameworks.IOKit
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
]
|
||||
(super.hidapi.override { systemd = null; });
|
||||
|
||||
hmatrix = addBuildDepend darwin.apple_sdk.frameworks.Accelerate super.hmatrix;
|
||||
|
||||
blas-hs = overrideCabal (drv: {
|
||||
|
@ -640,7 +640,6 @@ unsupported-platforms:
|
||||
haskell-snake: [ platforms.darwin ]
|
||||
hcwiid: [ platforms.darwin ]
|
||||
HDRUtils: [ platforms.darwin ]
|
||||
hidapi: [ platforms.darwin ]
|
||||
hinotify-bytestring: [ platforms.darwin ]
|
||||
honk: [ platforms.darwin ]
|
||||
HSoM: [ platforms.darwin ]
|
||||
|
@ -625,8 +625,6 @@ self: super: builtins.intersectAttrs super {
|
||||
# https://github.com/haskell-fswatch/hfsnotify/issues/62
|
||||
fsnotify = dontCheck super.fsnotify;
|
||||
|
||||
hidapi = addExtraLibrary pkgs.udev super.hidapi;
|
||||
|
||||
hs-GeoIP = super.hs-GeoIP.override { GeoIP = pkgs.geoipWithDatabase; };
|
||||
|
||||
discount = super.discount.override { markdown = pkgs.discount; };
|
||||
|
@ -146371,7 +146371,6 @@ self: {
|
||||
librarySystemDepends = [ systemd ];
|
||||
description = "Haskell bindings to HIDAPI";
|
||||
license = lib.licenses.mit;
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
}) {inherit (pkgs) systemd;};
|
||||
|
||||
"hidden-char" = callPackage
|
||||
|
Loading…
Reference in New Issue
Block a user