1
1
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:
Samuel Dionne-Riel 2020-04-07 23:30:39 -04:00 committed by GitHub
commit 7eae7aed88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -46,6 +46,7 @@ let
eval = evalWith {
device = final_device;
modules = configuration;
inherit additionalConfiguration;
};
# This is used by the `-A installer` shortcut.