mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-13 04:04:35 +03:00
examples/installer: apply now required changes [f]
This commit is contained in:
parent
5127038d53
commit
897ab49aa1
@ -1,4 +1,7 @@
|
||||
{ device ? null, pkgs ? null }@args:
|
||||
{ device ? null
|
||||
, pkgs ? (import ../../pkgs.nix {})
|
||||
}@args':
|
||||
let args = args' // { inherit pkgs; }; in
|
||||
|
||||
import ../../lib/eval-with-configuration.nix (args // {
|
||||
configuration = [ (import ./configuration.nix) ];
|
||||
@ -7,10 +10,10 @@ import ../../lib/eval-with-configuration.nix (args // {
|
||||
|
||||
Pinephone, other u-boot, and depthcharge devices:
|
||||
|
||||
$ nix-build examples/installer --argstr device ${device} -A build.default
|
||||
$ nix-build examples/installer --argstr device ${device} -A outputs.default
|
||||
|
||||
App "simulator":
|
||||
|
||||
$ nix-build examples/installer --argstr device uefi-x86_64 -A build.app-simulator
|
||||
$ nix-build examples/installer --argstr device uefi-x86_64 -A ouptuts.app-simulator
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user