diff options
author | Alexander Bantyev <balsoft@balsoft.ru> | 2021-06-30 22:13:32 +0300 |
---|---|---|
committer | Alexander Bantyev <balsoft@balsoft.ru> | 2021-06-30 22:13:32 +0300 |
commit | 093ed4763615a73edb1e8567d2f41d55ff5aaa0c (patch) | |
tree | 5a25e109cd702e57daea7aee1b418557e3fe05a1 /src/nix/registry-pin.md | |
parent | 69eb65403ad3e877300a7c0c96411d9d9e27dc69 (diff) |
nix registry: add --registry flag
Diffstat (limited to 'src/nix/registry-pin.md')
-rw-r--r-- | src/nix/registry-pin.md | 7 |
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 |