mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-06 03:27:17 +03:00
Merge pull request #650 from samueldr-wip/fix/2023-release-tools-eval
lib/release-tools: Fix eval
This commit is contained in:
commit
d25d3b87e7
@ -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