docs: update install instructions

This commit is contained in:
Jake Hamilton 2025-03-30 04:10:59 -07:00
parent ca05619548
commit 7552ab48bb
Signed by: jakehamilton
GPG key ID: 9762169A1B35EA68

View file

@ -11,7 +11,7 @@ The library can be imported both with and without Nix Flakes. To import the libr
add this repository as an input.
```nix
inputs.lib.url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz?dir=lib";
inputs.lib.url = "https://git.auxolotl.org/auxolotl/lib/archive/main.tar.gz";
```
To import the library without using Nix Flakes, you will need to use `fetchTarball` and import the
@ -19,11 +19,10 @@ library entrypoint.
```nix
let
labs = builtins.fetchTarball {
url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz";
lib = import (builtins.fetchTarball {
url = "https://git.auxolotl.org/auxolotl/lib/archive/main.tar.gz";
sha256 = "<sha256>";
};
lib = import "${labs}/lib";
});
in
# ...
```