aboutsummaryrefslogtreecommitdiff
path: root/src/nix/registry-add.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/registry-add.md')
-rw-r--r--src/nix/registry-add.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nix/registry-add.md b/src/nix/registry-add.md
index 80a31996a..a947fa0b3 100644
--- a/src/nix/registry-add.md
+++ b/src/nix/registry-add.md
@@ -21,6 +21,13 @@ R""(
# nix registry add nixpkgs/nixos-20.03 ~/Dev/nixpkgs
```
+* Add `nixpkgs` pointing to `github:nixos/nixpkgs` to your custom flake
+ registry:
+
+ ```console
+ nix registry add --registry ./custom-flake-registry.json nixpkgs github:nixos/nixpkgs
+ ```
+
# Description
This command adds an entry to the user registry that maps flake