Skip to content

Commit

Permalink
Add attr to nix-search
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Jul 31, 2018
1 parent c462eb4 commit b9bcc25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix-search.el
Expand Up @@ -36,7 +36,8 @@ NIX-FILE a Nix expression to search in."
(with-current-buffer display
(dolist (entry result)
(widget-insert
(format "name: %s\nversion: %s\ndescription: %s\n\n"
(format "attr: %s\nname: %s\nversion: %s\ndescription: %s\n\n"
(car entry)
(alist-get 'pkgName (cdr entry))
(alist-get 'version (cdr entry))
(alist-get 'description (cdr entry)))))
Expand Down

0 comments on commit b9bcc25

Please sign in to comment.