Skip to content

Commit abe5856

Browse files
committed
README: fix npins typo
1 parent 0ed54bc commit abe5856

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ $ step-agent version
9191
## Setup for NixOS with npins
9292

9393
If you do not want to use flakes but still want to pin your dependencies you can use a tool like `npins`, `niv`, ...
94-
This guide assumes that you have advanced knowledge of nix and you know how to rebuild your host.
94+
This guide assumes that you have advanced knowledge of nix, you know how to rebuild your host and have npins already initialized.
9595
We will use `npins` in this example.
9696

9797
1. Add this repository as an input
@@ -106,12 +106,12 @@ npins add github smallstep nur -b main --name smallstep
106106

107107
```nix
108108
{
109-
sources, # or `sources ? (import ./npins)`
110-
pkgs, # or pkgs ? sources.nixpkgs,
109+
sources ? (import ./npins),
110+
pkgs ? (import sources.nixpkgs {}),
111111
...
112112
}:
113113
let
114-
smallstep = import sources.nur { inherit pkgs; }; # if you pass pkgs, `step-agent` will use your nixpkgs instead of the locked one (advised)
114+
smallstep = import sources.smallstep { inherit pkgs; }; # if you pass pkgs, `step-agent` will use your nixpkgs instead of the locked one (advised)
115115
in
116116
{
117117
environment.systemPackages = [

0 commit comments

Comments
 (0)