haskellPackages.wiringPi: Add wiringpi as a dependency on aarch

This commit is contained in:
MaxHearnden 2023-04-17 23:40:26 +01:00
parent cb2d5a2fa9
commit 978694162a

View File

@ -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