{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/972","repository_url":"https://api.github.com/repos/NixOS/nix","labels_url":"https://api.github.com/repos/NixOS/nix/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/972/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/972/events","html_url":"https://github.com/NixOS/nix/issues/972","id":165784294,"number":972,"title":"\"Did you mean ...\" when typing wrong package name","user":{"login":"mpscholten","id":2072185,"avatar_url":"https://avatars.githubusercontent.com/u/2072185?v=3","gravatar_id":"","url":"https://api.github.com/users/mpscholten","html_url":"https://github.com/mpscholten","followers_url":"https://api.github.com/users/mpscholten/followers","following_url":"https://api.github.com/users/mpscholten/following{/other_user}","gists_url":"https://api.github.com/users/mpscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/mpscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpscholten/subscriptions","organizations_url":"https://api.github.com/users/mpscholten/orgs","repos_url":"https://api.github.com/users/mpscholten/repos","events_url":"https://api.github.com/users/mpscholten/events{/privacy}","received_events_url":"https://api.github.com/users/mpscholten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-15T13:15:55Z","updated_at":"2016-07-15T13:17:09Z","closed_at":null,"body":"Currently when typing the wrong package name, e.g. `nix-env -i cabal` instead of `nix-env -i cabal-install` you will get `error: selector ‘cabal’ matches no derivations`. That's not really helpful.\r\n\r\nMaybe `nix-env` could check for possible package with a similar name, and then output something like `error: selector ‘cabal’ matches no derivations. Did you mean ‘cabal-install‘?`"},"comment":{"url":"https://api.github.com/repos/NixOS/nix/issues/comments/232948067","html_url":"https://github.com/NixOS/nix/issues/972#issuecomment-232948067","issue_url":"https://api.github.com/repos/NixOS/nix/issues/972","id":232948067,"user":{"login":"copumpkin","id":2623,"avatar_url":"https://avatars.githubusercontent.com/u/2623?v=3","gravatar_id":"","url":"https://api.github.com/users/copumpkin","html_url":"https://github.com/copumpkin","followers_url":"https://api.github.com/users/copumpkin/followers","following_url":"https://api.github.com/users/copumpkin/following{/other_user}","gists_url":"https://api.github.com/users/copumpkin/gists{/gist_id}","starred_url":"https://api.github.com/users/copumpkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copumpkin/subscriptions","organizations_url":"https://api.github.com/users/copumpkin/orgs","repos_url":"https://api.github.com/users/copumpkin/repos","events_url":"https://api.github.com/users/copumpkin/events{/privacy}","received_events_url":"https://api.github.com/users/copumpkin/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T13:17:09Z","updated_at":"2016-07-15T13:17:09Z","body":"Let's do this on attribute paths too. Attribute names are so last year :)\nOn Fri, Jul 15, 2016 at 09:15 Marc Scholten <notifications@github.com>\nwrote:\n\n> Currently when typing the wrong package name, e.g. nix-env -i cabal\n> instead of nix-env -i cabal-install you will get error: selector ‘cabal’\n> matches no derivations. That's not really helpful.\n>\n> Maybe nix-env could check for possible package with a similar name, and\n> then output something like error: selector ‘cabal’ matches no\n> derivations. Did you mean ‘cabal-install‘?\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/NixOS/nix/issues/972>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAAKP0WbG9zie4zFqWAlrV0RgglJtgP1ks5qV4gMgaJpZM4JNYwt>\n> .\n>\n"}}
{"actor":{"display_login":"copumpkin"}}