files: allow explicitly specifying packagesArch
This commit is contained in:
parent
2087eb5f0c
commit
2717976254
|
@ -8,6 +8,8 @@
|
|||
, sha256
|
||||
# Checksum of a feed's `Packages` file
|
||||
, feedsSha256
|
||||
# Manually specify packages' arch for OpenWRT<19 releases without profiles.json
|
||||
, packagesArch
|
||||
}:
|
||||
with pkgs;
|
||||
let
|
||||
|
@ -108,7 +110,9 @@ let
|
|||
)
|
||||
else null;
|
||||
|
||||
arch = profiles.arch_packages;
|
||||
arch = if packagesArch == null
|
||||
then profiles.arch_packages
|
||||
else packagesArch;
|
||||
|
||||
in {
|
||||
inherit variantFiles variantPackages feedsFiles feedsPackages;
|
||||
|
|
Loading…
Reference in New Issue
Block a user