LinuxCommandLibrary

nix-edit

opens the Nix expression for a package in your editor

TLDR

Edit package definition

$ nix edit nixpkgs#[package]
copy
Edit with specific editor
$ EDITOR=vim nix edit nixpkgs#[package]
copy

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community