mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-13 04:04:35 +03:00
20 lines
561 B
Nix
20 lines
561 B
Nix
{ device ? null
|
|
, pkgs ? (import ../../pkgs.nix {})
|
|
}@args':
|
|
let args = args' // { inherit pkgs; }; in
|
|
|
|
import ../../lib/eval-with-configuration.nix (args // {
|
|
configuration = [ (import ./configuration.nix) ];
|
|
additionalHelpInstructions = ''
|
|
The build output to choose depends on the target.
|
|
|
|
Pinephone, other u-boot, and depthcharge devices:
|
|
|
|
$ nix-build examples/installer --argstr device ${device} -A outputs.default
|
|
|
|
App "simulator":
|
|
|
|
$ nix-build examples/installer --argstr device uefi-x86_64 -A ouptuts.app-simulator
|
|
'';
|
|
})
|