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