2021-02-22 01:32:05 +03:00
|
|
|
{ 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
|
|
|
|
'';
|
|
|
|
})
|