about summary refs log tree commit diff
path: root/src/nix-instantiate
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-08T16·39+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-08T16·42+0200
commit03ae5e64592d6d62f30158ccfa804f1b4135a596 (patch)
tree81e6f256c985d7a6e1efb4af457a595e792a48e0 /src/nix-instantiate
parent7689181e4f5921d3356736996079ec0310e834c6 (diff)
Add "nix edit" command
This is a little convenience command that opens the Nix expression of
the specified package. For example,

  nix edit nixpkgs.perlPackages.Moose

opens <nixpkgs/pkgs/top-level/perl-packages.nix> in $EDITOR (at the
right line number for some editors).

This requires the package to have a meta.position attribute.
Diffstat (limited to 'src/nix-instantiate')
0 files changed, 0 insertions, 0 deletions