about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorDennis Gosnell <cdep.illabout@gmail.com>2023-04-19 15:53:46 +0900
committerGitHub <noreply@github.com>2023-04-19 15:53:46 +0900
commit13028e309ec848c62eb547b3f0b6b7fad808f755 (patch)
tree38f082121a0a1191286b3333016c07bf43744375 /pkgs/development/haskell-modules
parentc4f8e111665edfa7243fbd4ad46f0d4f7d071ae9 (diff)
parent978694162abfbad459b6ce3dc88fd38aa0ee06c3 (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.nix5
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