about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorMaxHearnden <maxoscarhearnden@gmail.com>2023-04-17 23:40:26 +0100
committerMaxHearnden <maxoscarhearnden@gmail.com>2023-04-17 23:43:23 +0100
commit978694162abfbad459b6ce3dc88fd38aa0ee06c3 (patch)
treed034dfa2023d7b288748efe1a81cc7bb59b91249 /pkgs/development/haskell-modules
parentcb2d5a2fa9f2fa6dd2a619fc3be3e2de21a6a2f4 (diff)
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