forked from auxolotl/labs
docs: update source urls
This commit is contained in:
parent
7f8cc9be92
commit
cd12786be1
|
@ -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" {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue