diff options
author | Dennis Gosnell <cdep.illabout@gmail.com> | 2023-04-19 15:53:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 15:53:46 +0900 |
commit | 13028e309ec848c62eb547b3f0b6b7fad808f755 (patch) | |
tree | 38f082121a0a1191286b3333016c07bf43744375 /pkgs/development/haskell-modules | |
parent | c4f8e111665edfa7243fbd4ad46f0d4f7d071ae9 (diff) | |
parent | 978694162abfbad459b6ce3dc88fd38aa0ee06c3 (diff) |
Merge pull request #226728 from MaxHearnden/wiringPi
haskellPackages.wiringPi: Add wiringpi as a dependency on aarch
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-arm.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-arm.nix b/pkgs/development/haskell-modules/configuration-arm.nix index 9b7811417d9f6..54aa44efb4885 100644 --- a/pkgs/development/haskell-modules/configuration-arm.nix +++ b/pkgs/development/haskell-modules/configuration-arm.nix @@ -38,6 +38,11 @@ self: super: { happy = dontCheck super.happy; happy_1_19_12 = doDistribute (dontCheck super.happy_1_19_12); + # add arm specific library + wiringPi = overrideCabal ({librarySystemDepends ? [], ...}: { + librarySystemDepends = librarySystemDepends ++ [pkgs.wiringpi]; + }) super.wiringPi; + } // lib.optionalAttrs pkgs.stdenv.hostPlatform.isAarch64 { # AARCH64-SPECIFIC OVERRIDES |