-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from jwillikers/reduce-build-time
Update to 24.11 and significantly reduce the build time
- Loading branch information
Showing
24 changed files
with
759 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ extend-ignore-re = [ | |
# HDA = "HDA" | ||
|
||
[default.extend-words] | ||
ALLO = "ALLO" | ||
HDA = "HDA" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,10 +187,43 @@ git clone [email protected]:jwillikers/piceiver.git | |
cd piceiver | ||
---- | ||
|
||
. Configure ccache support for Nix. | ||
These instructions are for non-NixOS. | ||
See the https://nixos.wiki/wiki/CCache[NixOS Wiki CCache page] for details, including how to configure ccache for NixOS. | ||
|
||
.. Create the ccache cache directory. | ||
+ | ||
[,sh] | ||
---- | ||
sudo mkdir --mode=0770 --parents /nix/var/cache/ccache | ||
---- | ||
|
||
.. Set ownership of the ccache cache directory. | ||
+ | ||
[,sh] | ||
---- | ||
sudo chown root:nixbld /nix/var/cache/ccache | ||
---- | ||
|
||
.. Configure the ccache directory as an extra sandbox path for Nix. | ||
+ | ||
./etc/nix/nix.conf | ||
[,ini] | ||
---- | ||
extra-sandbox-paths = /nix/var/cache/ccache | ||
---- | ||
|
||
.. Restart the Nix daemon for the change to take effect. | ||
+ | ||
[,sh] | ||
---- | ||
sudo systemctl restart nix-daemon.service | ||
---- | ||
|
||
. Build the SD card image. | ||
Prefix the command with `systemd-inhibit` to prevent your computer from sleeping. | ||
This will take a long time. | ||
Like, days in my case. | ||
Like, [.line-through]#two days# a day in my case. | ||
The default, `basic-sd-image` package, produces a minimal image that requires no extra configuration. | ||
There is an alternative package, `full-sd-image`, which is more fully-featured, including more integrations, but requires customization and additional set up. | ||
+ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.