nextthing/chip: init#1807
Conversation
8562f3c to
332a98c
Compare
| # Using overlays here so we can modularly override it in nand.nix and pocketchip.nix | ||
| nixpkgs.overlays = [ | ||
| (final: _prev: { | ||
| ubootCHIP = final.buildUBoot { |
There was a problem hiding this comment.
Overlays have a certain cost and prevent from re-using nixpkgs instances across Nico's systems. Is it possible to use callPackage here?
There was a problem hiding this comment.
This should allow the same code sharing and is code flow wise easier to reason about.
There was a problem hiding this comment.
Using overlays allow easy overriding and customization. The alternatives I tried seemed messy, especially if you consider that this device have a lot of "DIP"s (like Raspberry Pi HATs), PocketCHIP being one of them, each may want some extra U-Boot configurations.
8c4c982 to
1e47b88
Compare
|
It sees the instructions for Testing building with |
1e47b88 to
b2405d1
Compare
Fixed :) |
|
I was able to install on my pocketchip with this :D |
Description of changes
Things done
nixos-hardwareandimporting it via
<nixos-hardware>or Flake input