1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-08-16 07:20:27 +03:00
Commit Graph

40 Commits

Author SHA1 Message Date
wentam
03451fb8a4 release.nix: Add pine64-pinephonepro installer 2023-09-16 20:37:26 -04:00
Samuel Dionne-Riel
03ac47d8c5 release.nix: Fix for new image builder infra 2023-09-15 01:41:40 -04:00
Samuel Dionne-Riel
d0a0b55fa1 release.nix: Fix eval 2023-09-14 18:06:24 -04:00
Samuel Dionne-Riel
a937001b41 release.nix: Add lenovo-wormdingler installer build 2023-01-23 20:09:40 -05:00
Samuel Dionne-Riel
ebc705e740 release.nix: Add lenovo-krane installer 2022-11-16 21:03:31 -05:00
Samuel Dionne-Riel
2bdbe7a935 release.nix: rootfs → toplevel
Hopefully, this will propagate the outputs to the cache.

Comparatively, it is assumed the compressed rootfs images would lose
their string contexts, and new builds not otherwise cached would be
lost.
2022-10-25 19:27:25 -04:00
Samuel Dionne-Riel
a438b65693 release.nix: Build installer for the pine64-pinephone 2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
67ec638d45 release.nix: Add plasma-mobile 2022-10-19 15:31:05 -04:00
Samuel Dionne-Riel
c06fd19c50 release.nix: Try to build phosh as cross
Most of the system will have already been built by the hello system
anyway. What's left is what's specific to phosh.

With this build we'll be able to see any form of progress with phosh
cross-compilation, and then any form of regression.
2022-09-30 16:59:36 -04:00
Samuel Dionne-Riel
b73dcf4562 release.nix: Build and depend on examples/{phosh,hello} 2022-09-30 16:59:36 -04:00
Samuel Dionne-Riel
2c12d7347d release.nix: Drop demo rootfs build
We're not providing this anymore.
2022-09-30 14:31:22 -04:00
Samuel Dionne-Riel
dcd6549e86 release.nix: Add kernels to the jobset
This does **not** add more work. This only adds more tracking. The
kernels as used here *are already part of the builds*.

By making them discrete components of the eval, we are now able to
better track kernel build issues.

Fixes #434
2021-12-03 17:12:22 -05:00
Samuel Dionne-Riel
796040d35e
Merge pull request #405 from samueldr-wip/feature/pkgs-pinning
Pin Nixpkgs (without Flakes)
2021-08-31 14:34:59 -04:00
Samuel Dionne-Riel
b7ec236881 release.nix: Fix usage for reliance on <nixpkgs> 2021-08-31 14:19:51 -04:00
Samuel Dionne-Riel
e411aaf599 release.nix: Build the documentation 2021-08-31 14:18:52 -04:00
Samuel Dionne-Riel
0dcf6d80af release.nix: system.build -> mobile.outputs 2021-08-27 01:00:43 -04:00
Samuel Dionne-Riel
c406e5d229 release.nix: Use canaries from overlay 2021-03-07 17:53:10 -05:00
Samuel Dionne-Riel
f4a488231c release.nix: Filter non-derivations from mobile-nixos overlay
This is much sturdier than manually selecting attrpaths to remove. It
won't break the next time a `make-*` or `*-builder` helper is added.
2021-03-07 17:53:10 -05:00
Samuel Dionne-Riel
cd4eef033e release.nix: Add canary to tested jobs
+ Fix for canary being a callPackage'd attrset
 + Fix for testedPlus job name
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
6711b2d108 release.nix: Test android flashable zip binaries 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
36cff692b2 release.nix: Fix oversight with kernel builders
This way we finally have an error-free eval.
2021-02-24 18:43:37 -05:00
Samuel Dionne-Riel
0d9c6ce207
Merge pull request #310 from samueldr-wip/fix/more-hermetic-release.nix
More hermetic release.nix and examples
2021-02-23 21:02:59 -05:00
Samuel Dionne-Riel
f1268082f9 lib/release-tools: eval helpers don't include default.nix anymore
This is required for more hermetic evals.

A simple thing to try is, before this change, replace `default.nix` with
`throw "No thanks..."`. It would throw. It was also possible to observe
`local.nix` was being included by the warnings.

Wioth this change, `release.nix` does not include `local.nix` through
`default.nix`.

I think this was the last piece of Mobile NixOS that actually relied on
`default.nix` being a thing. We have finally completely inverted the
control, where `default.nix` uses the helpers, rather than the helpers
evaluating a specialized `default.nix`.

From now on, it should be entirely safe to experiment with
`default.nix`. We should be able to **fail noisily** when a user builds
the default empty configuration!
2021-02-21 17:34:12 -05:00
Samuel Dionne-Riel
a1b7ba14d7 release.nix: Add testedPlus aggregate job
This includes the whole `tested` job (a simple no-op for hydra), but
adds additional things we want to track success for.

`tested` is for the basic minimum we want to succeed.
`testedPlus` adds more exotic, and less well-tested platforms.
2021-02-21 17:33:43 -05:00
Edward Amsden
c507b39099 Make the package set a parameter instead of using <nixpkgs> everywhere.
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
b2790d13d6 qemu-x86_64: Delete device
It's being replaced by the generic uefi-x86_64 device.

Basically, replace the QEMU-specific system type by the totally standard
UEFI system type. This way we're dogfooding it way better!
2020-12-29 19:22:43 -05:00
Samuel Dionne-Riel
6227192812 release.nix: pre-built demo rootfs is generic
Which means there is no device-specific kernel/initrd on them.
2020-12-27 17:38:29 -05:00
Samuel Dionne-Riel
9179158645 release-tools: Split useful Mobile NixOS evaluation tools
This is to be used by the documentation system, without requiring to
repeat all of the code.
2020-04-04 14:39:23 -04:00
Samuel Dionne-Riel
b34f78b704 release.nix: examples-demo-rootfs -> examples-demo.aarch64-linux.rootfs
This allows us to add more outputs to `examples-demo`, and more
importantly, differentiates systems. After all, we want to build
armv7l-linux ASAP!
2020-03-31 15:40:40 -04:00
Samuel Dionne-Riel
a73d030a5b release.nix: Preface with a usage note 2020-03-31 14:59:20 -04:00
Samuel Dionne-Riel
f4f848c6b2 release.nix: Compress demo rootfs
We cannot apply the compression outright on all builds as the image
building infrastructure is not aware of compressed images.
2020-03-31 01:12:09 -04:00
Samuel Dionne-Riel
fd3a5c656c release.nix: Add knowledge of the project's build infra 2020-03-30 23:33:31 -04:00
Samuel Dionne-Riel
875a94f659 release.nix: Build the demo rootfs
As thus rootfs is universal, building it will allow end-users to
directly be able to run a somewhat usable system on their devices, even
if they are unable to bootstrap themselves one.

Furthermore, this ensures that the requirements are built and do
continue building on aarch64-linux.
2020-03-29 00:18:02 -04:00
Samuel Dionne-Riel
cabd0eac10 release.nix: Add note about .ci/instantiate-all.nix 2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
648b848115 release.nix: Special evals are system-types "none" 2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
6b33a0a14c release.nix: drop all-devices.nix
See:

 * https://github.com/NixOS/mobile-nixos/pull/40/files#r339630767
2020-03-13 22:45:19 -04:00
Samuel Dionne-Riel
1130301de3 release.nix: Add tested jobset 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
5be1588bb3 release.nix: minor cleanup 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
611b107b10 release.nix: Eval devices for all local systems 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
3f377dd275 release.nix: Init, for hydra consumption
This release.nix is intended to provide:

 * Builds for our overlay
 * Builds for all devices
2020-03-13 18:06:00 -04:00