aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/common-args.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-08 18:39:33 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-08 18:42:30 +0200
commit03ae5e64592d6d62f30158ccfa804f1b4135a596 (patch)
tree81e6f256c985d7a6e1efb4af457a595e792a48e0 /src/libmain/common-args.hh
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/libmain/common-args.hh')
0 files changed, 0 insertions, 0 deletions