mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-14 09:16:39 +03:00
Merge pull request #125 from samueldr-wip/fix/eval-failure
Fix evaluation failure where aarch64-linux outputs are accidentally x86_64-linux
This commit is contained in:
commit
7eae7aed88
@ -44,6 +44,9 @@ let
|
||||
;
|
||||
|
||||
flattened =
|
||||
# If this fails, evaluations probably don't receive additional configuration
|
||||
# configuring nixpkgs.localSystem.
|
||||
assert devices."device.asus-z00t.aarch64-linux" != devices."device.asus-z00t.x86_64-linux";
|
||||
release //
|
||||
devices //
|
||||
# We could try and do something smart to unwrap two levels of attrsets
|
||||
|
@ -46,6 +46,7 @@ let
|
||||
eval = evalWith {
|
||||
device = final_device;
|
||||
modules = configuration;
|
||||
inherit additionalConfiguration;
|
||||
};
|
||||
|
||||
# This is used by the `-A installer` shortcut.
|
||||
|
Loading…
Reference in New Issue
Block a user