mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-05 19:03:21 +03:00
21 lines
629 B
Nix
21 lines
629 B
Nix
{ device ? null, pkgs ? null }@args:
|
|
|
|
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/target-disk-mode --argstr device ${device} -A build.default
|
|
|
|
Android-based devices:
|
|
|
|
$ nix-build examples/target-disk-mode --argstr device ${device} -A build.android-bootimg
|
|
|
|
App "simulator":
|
|
|
|
$ nix-build examples/target-disk-mode --argstr device uefi-x86_64 -A build.app-simulator
|
|
'';
|
|
})
|