See comment in `tidepool/src/lib/fetchurl.nix` for details on rationale. I've made this a function in `lib` instead of defining this as a builder, since we don't have a great mechanism at the moment for specifying the source of a package as another package. We'll need to tackle this eventually, but given that this is a bit of a special case in that it's only intended to be used to fetch sources during bootstrap, I think it's fine to just have this be a function that returns a derivation, instead of being a full builder. Open to other opinions, though. Reviewed-on: #27 Reviewed-by: vlinkz <vlinkz@snowflakeos.org> Co-authored-by: Ruby Iris Juric <ruby@srxl.me> Co-committed-by: Ruby Iris Juric <ruby@srxl.me> |
||
|---|---|---|
| .. | ||
| npins | ||
| src | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Aux Tidepool
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.
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/auxolotl/labs/archive/main.tar.gz?dir=tidepool";
To import this library without using Nix Flakes, you will need to use fetchTarball and
import the library entrypoint.
let
labs = builtins.fetchTarball {
url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz";
sha256 = "<sha256>";
};
tidepool = import "${labs}/tidepool" {};
in
# ...