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-add.md | |
parent | 69eb65403ad3e877300a7c0c96411d9d9e27dc69 (diff) |
nix registry: add --registry flag
Diffstat (limited to 'src/nix/registry-add.md')
-rw-r--r-- | src/nix/registry-add.md | 7 |
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 |