1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
mobile-nixos/examples/demo/default.nix
Samuel Dionne-Riel 0ef6bd9d5d examples/demo: Use eval-with-configuration.nix
In addition, drop `android-burn-tool`. It hasn't been used for while, as
in the end it is not actually needed.
2021-02-23 20:17:19 -05:00

12 lines
364 B
Nix

{ device ? null, pkgs ? null }@args:
import ../../lib/eval-with-configuration.nix (args // {
configuration = [ (import ./configuration.nix) ];
additionalHelpInstructions = ''
You can build the `-A build.default` attribute to build the default output
for your device.
$ nix-build examples/demo --argstr device ${device} -A build.default
'';
})