| npins | ||
| default.nix | ||
| README.md | ||
Aux Tidepool, but with substituted bootstrap
Caution
Beware: it's a hack !
Aux Tidepool is an initial package set built on top of Aux Foundation. Packages are created and managed using Aux Lib's module system to allow for highly dynamic and extensible configuration.
except...
For some people (i.e.: us), the bootstrap chain fails to build. Fortunately, a pre-built version is cached at cache.aux-cache.dev, but it's a quite old version of foundation1 !
The proper tidepool can't realistically use it, so we're providing this alternative. It's the tidepool
we all know and love, except the foundation source it uses is kept in sync with the latest cached
version of foundation on cache.aux-cache.dev2.
Disclaimer
We can't guarantee tidepool doesn't break this, and we don't properly test if this version, or any later, is fully functional. Don't rely on it for anything more than toying around !
Also, the binary cache is kindly put up by @srd424. Don't rely
on it being up and going without issues at any point in time.
Usage
Packages can be imported both with and without Nix Flakes. To import them using Nix Flakes, add this repository as an input.
inputs.tidepool.url = "https://git.auxolotl.org/austreelis/tidepool-caching-hack/archive/main.tar.gz";
To import this library without using Nix Flakes, you will need to use fetchTarball and
import the library entrypoint.
let
tidepool = import (builtins.fetchTarball {
url = "https://git.auxolotl.org/austreelis/tidepool-caching-hack/archive/main.tar.gz";
sha256 = "<sha256>";
});
in
# ...
To actually let nix substitute derivations from foundation when building, you will need to add
https://cache.aux-cache.dev as a substituter, and add the public key shown when fetching this url.
Note
or you can get it directly with:
curl https://cache.aux-cache.dev -s | grep 'Public\s\+key:' | grep -o 'aux-cache\\.dev-[[:digit:]]\\+:[a-zA-Z0-9+]\\+=*'
Then you either use the --extra-substituters and -extra-trusted-public-keys
configuration flags (you need to be a trusted user for this), or to edit your
nix config's (extra-)substituters and
(extra-)trusted-public-keys.