diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-08 18:39:33 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-08 18:42:30 +0200 |
commit | 03ae5e64592d6d62f30158ccfa804f1b4135a596 (patch) | |
tree | 81e6f256c985d7a6e1efb4af457a595e792a48e0 /src/libutil | |
parent | 7689181e4f5921d3356736996079ec0310e834c6 (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/libutil')
0 files changed, 0 insertions, 0 deletions