nix-edit
opens the Nix expression for a package in your editor
TLDR
Edit package definition
$ nix edit nixpkgs#[package]
Edit with specific editor$ EDITOR=vim nix edit nixpkgs#[package]
SYNOPSIS
nix edit installable [options]
DESCRIPTION
nix edit opens the Nix expression for a package in your editor. Useful for inspecting or modifying package definitions. Uses $EDITOR environment variable.
PARAMETERS
installable
Package to edit (e.g., nixpkgs#hello).
SEE ALSO
nix(1), nix-search(1)
