labs/tidepool
Jake Hamilton 2f31813c88 feat: add support for platform specs (#15)
This PR adds a new way of declaring supported platforms for packages. Previously individual build, host, and target values needed to be set for a given platform combination. Now, a platform spec can be written to generate many platform combinations.

This allows for easy mapping of all possible systems with `@all`, linux systems with `@linux` or any other available alias of `lib.systems.doubles.<alias>` by using `@<alias>`. In addition, you can use `@build` and `@host` to lock either the host or target respectively to match the prior platform.

Reviewed-on: #15
2025-09-10 12:32:11 +00:00
..
npins feat: add support for platform specs (#15) 2025-09-10 12:32:11 +00:00
src feat: add support for platform specs (#15) 2025-09-10 12:32:11 +00:00
default.nix feat: add support for platform specs (#15) 2025-09-10 12:32:11 +00:00
flake.lock chore(foundation): remove foundation from labs 2025-03-30 06:55:20 -07:00
flake.nix chore(foundation): remove foundation from labs 2025-03-30 06:55:20 -07:00
LICENSE refactor: potluck -> tidepool 2024-06-14 02:12:19 -07:00
README.md feat: working package export 2024-06-14 04:47:54 -07:00

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
    # ...