Commit graph

21 commits

Author SHA1 Message Date
DavHau
03886d127e add kernel cross build support for faster builds on x86_64-linux
This adds the option `raspberry-pi-nix.kernel-build-system`, which can be used to drastically decrease the build times.

Description of the option:

The build system to compile the kernel on.

Only the linux kernel will be cross compiled, while most of the derivations are still pulled from cache.nixos.org.

Use this if you cannot or don't want to use the nix-community cache and either:
  - you are building on an x86_64 system using binfmt_misc for aarch64-linux.
  - or if your x86_64 builder has a better CPU than your aarch64 builder.
2024-12-12 23:00:51 +07:00
Travis Staton
4501cff529 bump deps 2024-10-07 19:15:16 -04:00
adminy
0ffba0a5bf chore: packages version bump 2024-09-10 14:35:02 +01:00
Yash Garg
4f3e27caae
fix: deprecated lib.cartesianProductofSets 2024-07-29 18:41:39 +05:30
Travis Staton
3375c37c2c restrict board options 2024-07-26 08:50:52 -04:00
adminy
25b88136ac chore: undo backlight 2024-06-28 09:37:03 +01:00
adminy
196c7f8e4b chore: build latest kernel 2024-06-28 07:53:31 +01:00
Travis Staton
4f517c83bf use final when appropriate 2024-06-24 09:21:22 -04:00
Travis Staton
7f3a320cc0 fix clobbering of all but one board per version 2024-06-24 09:20:26 -04:00
Travis Staton
f0c963957b remove overrideDerivation
It wasn't fully applied and it isn't necessary for these overrides anyway
2024-06-24 09:18:51 -04:00
Travis Staton
50e36bf86a fix version lookup 2024-06-24 09:13:52 -04:00
Travis Staton
9113306d60 run nixpkgs-fmt 2024-06-24 09:11:22 -04:00
adminy
b027897628 fix: fix targets for flake, add kernel 6.6.34 2024-06-23 16:43:11 +01:00
adminy
57a532319e chore: undo dtparams, improve kernel building code 2024-06-23 02:00:09 +01:00
adminy
b9c9972ec6 chore: return to stable versions, undo compression, fix libcamera version 2024-06-22 23:49:48 +01:00
adminy
4240bff280 chore: no double caching, compression now supported 2024-06-22 16:32:44 +01:00
adminy
48bb6ed6fb chore: remove unused 2024-06-19 01:06:36 +01:00
adminy
c2388c307b chore: bump libs & fix libcamera, fix upstream nixpkgs 2024-06-18 23:58:46 +01:00
MinerSebas
8a633100aa Also dont use zstd for firmware compression 2024-06-16 16:40:53 +02:00
Travis Staton
e858a137fd bump rpi sources 2024-05-13 21:55:55 -04:00
Travis Staton
9c35dd99cf move libcamera stuff into a separate overlay 2024-01-23 22:02:11 -05:00
Renamed from overlay/default.nix (Browse further)