Home Explore Blog CI



nix

1st chunk of `src/nix/registry-remove.md`
7366b2b9afbcf00987743d1e79587ec4b89a8c6ea781996f0000000100000173
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*.

)""

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.