docs: update source urls

This commit is contained in:
Jake Hamilton 2024-06-12 06:31:09 -07:00
parent 7f8cc9be92
commit cd12786be1
Signed by: jakehamilton
GPG key ID: 9762169A1B35EA68
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ Packages can be imported both with and without Nix Flakes. To import them using
add this repository as an input. add this repository as an input.
```nix ```nix
inputs.foundation.url = "github:auxolotl/labs?dir=foundation"; inputs.foundation.url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz?dir=foundation";
``` ```
To import this library without using Nix Flakes, you will need to use `fetchTarball` and To import this library without using Nix Flakes, you will need to use `fetchTarball` and
@ -18,7 +18,7 @@ import the library entrypoint.
```nix ```nix
let let
labs = builtins.fetchTarball { labs = builtins.fetchTarball {
url = "https://github.com/auxolotl/labs/archive/main.tar.gz"; url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz";
sha256 = "<sha256>"; sha256 = "<sha256>";
}; };
foundation = import "${labs}/foundation" { foundation = import "${labs}/foundation" {

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. add this repository as an input.
```nix ```nix
inputs.lib.url = "github:auxolotl/labs?dir=lib"; inputs.lib.url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz?dir=lib";
``` ```
To import the library without using Nix Flakes, you will need to use `fetchTarball` and import the To import the library without using Nix Flakes, you will need to use `fetchTarball` and import the
@ -20,7 +20,7 @@ library entrypoint.
```nix ```nix
let let
labs = builtins.fetchTarball { labs = builtins.fetchTarball {
url = "https://github.com/auxolotl/labs/archive/main.tar.gz"; url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz";
sha256 = "<sha256>"; sha256 = "<sha256>";
}; };
lib = import "${labs}/lib"; lib = import "${labs}/lib";