1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
245ecceee4 default.nix: Pass additional config to evalWith
This broke eval for aarch64-linux platforms.

See the previous commit for an assertion that should prevent such
breakage from going through in the future.
2020-04-07 23:13:07 -04:00
Samuel Dionne-Riel
fb64a005de Allow evaluating without NixOS.
We are now splitting the concerns more clearly, by making `baseModules`
the reason we are evaluating NixOS, rather than wholesale always
including it into the modules.
2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
2fbd2c660d default.nix: Fix bug with special configuration
Associativity strikes!
2020-03-29 00:18:02 -04:00
Samuel Dionne-Riel
6a744f0292 default.nix: Fix wrong default value 2020-03-14 00:34:27 -04:00
Samuel Dionne-Riel
a9e2e897d2 default.nix: Allow passing more configuration
This begins to smell like spaghetti :/
2020-03-13 19:43:34 -04:00
Samuel Dionne-Riel
7f265d59c2 default.nix: Warn when local.nix is used
Only to remind the poor soul that their build has some side-effects.
2020-03-13 18:13:24 -04:00
Samuel Dionne-Riel
5471ee7e05 default.nix: Allow receiving special configurations
Those are sent as a parameter to the derivation. This is part of the
internal API allowing the coming release.nix to make generic builds for
the overlay.
2020-03-13 14:56:04 -04:00
Samuel Dionne-Riel
ae90e4c51c default.nix: misc. cleanup 2020-03-12 22:08:55 -04:00
Samuel Dionne-Riel
664d523030 default.nix: Add header to device eval
This is useful when doing a "batch eval", where you can see which device
caused the eval to fail more easily.
2020-03-12 17:57:57 -04:00
Samuel Dionne-Riel
df7bc1f08e default.nix: Allows composition 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
a9f4c851cc Adds an installer output... 2019-09-21 22:45:41 -04:00
Samuel Dionne-Riel
327fda2329 Review build to better use system.build and be more composable 2019-09-21 22:40:24 -04:00
Samuel Dionne-Riel
77110eaa92 default.nix: WIP minor refactor 2019-09-21 17:32:16 -04:00
Linus Heckemann
0f7d2cffca default.nix: convenience improvements
Exposes the nixos config attribute, and gets device from an
environment variable if not provided as a function argument.
2019-06-18 17:32:43 +02:00
Samuel Dionne-Riel
cf47617e62 Reviews how overlay works and is used. 2018-06-26 20:49:15 -04:00
Samuel Dionne-Riel
b623007684 WIP : Builds a system image using nixos. 2018-06-23 17:11:07 -04:00
Samuel Dionne-Riel
6990de541d Adds support for local.nix overrides. 2018-06-18 22:23:02 -04:00
Samuel Dionne-Riel
844313903e WIP Migrates device configuration into the options system. 2018-06-16 23:21:41 +00:00
Samuel Dionne-Riel
e5af76d718 Adds default.nix that allows calling nix-build. 2018-06-10 01:00:12 +00:00