Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Use FlakeHub links in README #26

Merged
merged 3 commits into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ With Nix installed, you can [realise] a Nix [derivation]:
nix build --print-build-logs

# Or without cloning this repo
nix build --print-build-logs "github:DeterminateSystems/nuenv"
nix build --print-build-logs "https://flakehub.com/f/DeterminateSystems/nuenv/*.tar.gz"
```

You should see build output like this:
Expand Down Expand Up @@ -73,8 +73,8 @@ Here's a straightforward example:
```nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nuenv.url = "github:DeterminateSystems/nuenv";
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2311.*.tar.gz";
nuenv.url = "https://flakehub.com/f/DeterminateSystems/nuenv/*.tar.gz";
};

outputs = { self, nixpkgs, nuenv }: let
Expand Down Expand Up @@ -121,8 +121,8 @@ Here's an example:
# This example is only for x86_64-linux; adjust for your own platform
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
nuenv.url = "github:DeterminateSystems/nuenv";
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2311.*.tar.gz";
nuenv.url = "https://flakehub.com/f/DeterminateSystems/nuenv/*.tar.gz";
};

outputs = { self, nixpkgs, nuenv }: let
Expand Down
Loading