mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-08 03:26:08 +03:00
treewide: use isAarch where appropriate
This commit is contained in:
parent
64915e05bf
commit
5330c0a1af
24 changed files with 30 additions and 32 deletions
|
@ -92,7 +92,7 @@ in {
|
|||
"default_config"
|
||||
"met"
|
||||
"esphome"
|
||||
] ++ optionals (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) [
|
||||
] ++ optionals pkgs.stdenv.hostPlatform.isAarch [
|
||||
# Use the platform as an indicator that we might be running on a RaspberryPi and include
|
||||
# relevant components
|
||||
"rpi_power"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue