about summary refs log tree commit diff
path: root/src/nix/edit.cc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-30 Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim1-3/+3
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2017-05-08 Add "nix edit" commandEelco Dolstra1-0/+75
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.