Linux command
nix-edit 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Edit package definition
nix edit nixpkgs#[package]
Edit with specific editor
EDITOR=vim nix edit nixpkgs#[package]
说明
nix edit opens the Nix expression for a package in your editor. Useful for inspecting or modifying package definitions. Uses $EDITOR environment variable.
FAQ
What is the nix-edit command used for?
nix edit opens the Nix expression for a package in your editor. Useful for inspecting or modifying package definitions. Uses $EDITOR environment variable.
How do I run a basic nix-edit example?
Run `nix edit nixpkgs#[package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more nix-edit examples?
This page includes 2 examples for nix-edit, plus related commands for nearby Linux tasks.