1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-09-11 12:05:26 +03:00

release.nix: Add knowledge of the project's build infra

This commit is contained in:
Samuel Dionne-Riel 2020-03-30 23:33:31 -04:00
parent 2fbd2c660d
commit fd3a5c656c

View File

@ -13,6 +13,10 @@ in
# By default, assume we eval only for currentSystem
, systems ? [ builtins.currentSystem ]
# nixpkgs is also an input, used as `<nixpkgs>` in the system configuration.
# Some additional configuration will be made with this.
# Mainly to work with some limitations (output size).
, inNixOSHydra ? false
}:
let
@ -83,6 +87,7 @@ let
special = true;
inherit name;
config = {
mobile._internal.compressLargeArtifacts = inNixOSHydra;
mobile.device.info = {};
mobile.system.type = "none";
mobile.hardware.soc = {