forked from auxolotl/foundation
Fix URLs in readme to point to foundation instead of labs (#9)
Reviewed-on: auxolotl/foundation#9 Reviewed-by: Jake Hamilton <jake.hamilton@hey.com> Co-authored-by: 5225225 <5225225@mailbox.org> Co-committed-by: 5225225 <5225225@mailbox.org>
This commit is contained in:
parent
7344532f72
commit
f39cac8cae
1 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ Packages can be imported both with and without Nix Flakes. To import them using
|
|||
add this repository as an input.
|
||||
|
||||
```nix
|
||||
inputs.foundation.url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz?dir=foundation";
|
||||
inputs.foundation.url = "https://git.auxolotl.org/auxolotl/foundation/archive/main.tar.gz";
|
||||
```
|
||||
|
||||
To import this library without using Nix Flakes, you will need to use `fetchTarball` and
|
||||
|
|
@ -17,11 +17,11 @@ import the library entrypoint.
|
|||
|
||||
```nix
|
||||
let
|
||||
labs = builtins.fetchTarball {
|
||||
url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz";
|
||||
foundation_tarball = builtins.fetchTarball {
|
||||
url = "https://git.auxolotl.org/auxolotl/foundation/archive/main.tar.gz";
|
||||
sha256 = "<sha256>";
|
||||
};
|
||||
foundation = import "${labs}/foundation" {
|
||||
foundation = import foundation_tarball {
|
||||
# Specifying a system is optional. By default it will use the current system.
|
||||
system = "i686-linux";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue