Home Explore Blog CI



nix

src/nix/registry-remove.md
ef97c18ee4d3a66799c8a9f41468127c5195b03c68f6abee0000000300000173
R""(

# Examples

* Remove the entry `nixpkgs` from the user registry:

  ```console
  # nix registry remove nixpkgs
  ```

* Remove the entry `nixpkgs` from a custom registry:

  ```console
  # nix registry remove --registry ./custom-flake-registry.json nixpkgs
  ```

# Description

This command removes from the user registry any entry for flake
reference *url*.

)""

Chunks
7366b2b9 (1st chunk of `src/nix/registry-remove.md`)
Title: nix registry remove
Summary
The `nix registry remove` command removes a flake registry entry from the user or a specified registry. The examples demonstrate how to remove an entry by name from the user registry and a custom registry.