aboutsummaryrefslogtreecommitdiff
path: root/src/nix/registry-pin.md
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-07-07 09:57:15 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-07-07 09:57:15 +0200
commite37ecd1282f7ab2799db54eea5a12d078a5bd96f (patch)
tree58770edfd1cae836379d06aee30808df176d05ad /src/nix/registry-pin.md
parent24bc9354627b3b6d65efb9bb18faa57d681624db (diff)
parentd8ad6f1c108ec253b307c30aadee460cf602dbd1 (diff)
Merge branch 'balsoft/registry' of https://github.com/serokell/nix
Diffstat (limited to 'src/nix/registry-pin.md')
-rw-r--r--src/nix/registry-pin.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nix/registry-pin.md b/src/nix/registry-pin.md
index 6e97e003e..7b163c463 100644
--- a/src/nix/registry-pin.md
+++ b/src/nix/registry-pin.md
@@ -24,6 +24,13 @@ R""(
```
+* Pin `nixpkgs` in a custom registry to its most recent Git revision
+
+ ```console
+ # nix registry pin --registry ./custom-flake-registry.json nixpkgs
+ ```
+
+
# Description
This command adds an entry to the user registry that maps flake