docs: update install instructions
This commit is contained in:
parent
ca05619548
commit
7552ab48bb
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
# ...
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue