mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-07 12:11:28 +03:00
lib/release-tools: Fix eval
This commit is contained in:
parent
71c2f9e0b1
commit
5a0a820e23
@ -46,18 +46,20 @@ rec {
|
||||
specialConfig = {name, buildingForSystem, system, config ? {}}: {
|
||||
special = true;
|
||||
inherit name;
|
||||
config = lib.mkMerge [
|
||||
config
|
||||
{
|
||||
mobile.system.type = "none";
|
||||
mobile.hardware.soc = {
|
||||
x86_64-linux = "generic-x86_64";
|
||||
aarch64-linux = "generic-aarch64";
|
||||
armv7l-linux = "generic-armv7l";
|
||||
}.${buildingForSystem};
|
||||
nixpkgs.localSystem = knownSystems.${system};
|
||||
}
|
||||
];
|
||||
config = {
|
||||
imports = [
|
||||
config
|
||||
{
|
||||
mobile.system.type = "none";
|
||||
mobile.hardware.soc = {
|
||||
x86_64-linux = "generic-x86_64";
|
||||
aarch64-linux = "generic-aarch64";
|
||||
armv7l-linux = "generic-armv7l";
|
||||
}.${buildingForSystem};
|
||||
nixpkgs.localSystem = knownSystems.${system};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Shortcuts from a simple system name to the structure required for
|
||||
|
Loading…
Reference in New Issue
Block a user