mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
modules, ...: get rid of config.build.arch
This commit is contained in:
parent
54a535b91b
commit
45fcd2da39
15 changed files with 67 additions and 54 deletions
|
|
@ -99,10 +99,9 @@
|
|||
See the 22.11 release notes for more.
|
||||
''
|
||||
(import ./modules {
|
||||
targetSystem = pkgs.system; # system to cross-compile to
|
||||
inherit extraSpecialArgs home-manager-path pkgs;
|
||||
config.imports = modules;
|
||||
config.build.arch =
|
||||
nixpkgs.lib.strings.removeSuffix "-linux" pkgs.system;
|
||||
isFlake = true;
|
||||
});
|
||||
|
||||
|
|
@ -118,7 +117,8 @@
|
|||
derivationAttrset;
|
||||
perArchCustomPkgs = arch: flattenArch arch
|
||||
(import ./pkgs {
|
||||
inherit system arch;
|
||||
_nativeSystem = system; # system to cross-compile from
|
||||
system = "${arch}-linux"; # system to cross-compile to
|
||||
nixpkgs = nixpkgs-for-bootstrap;
|
||||
}).customPkgs;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue