{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7659","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7659/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7659/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7659/events","html_url":"https://github.com/NixOS/nixpkgs/issues/7659","id":72559905,"number":7659,"title":"Unify the nixos and nixpkgs channels?","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},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/feedback-requested","name":"feedback-requested","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-02T01:05:50Z","updated_at":"2015-05-05T14:54:34Z","closed_at":null,"body":"Currently, as far as I can tell, the `nixos` channel is just the `nixpkgs` channel with a level of indirection and a tiny wrapper to put `nixpkgs` inside a `pkgs` attribute. I've seen a few people on IRC get confused by the weird distinction and it screwed me up a bit when I was trying to publish my own channels too.\r\n\r\nIs there a deep reason for the distinction? I realize that lots of people expect it now, but it seems like simplifying it would be good in the long run. Even if we unified it, we could keep a self-referential `pkgs` attribute inside the top-level of `nixpkgs` so that existing references to `nixos.pkgs` wouldn't break. The attribute could emit a deprecation warning when forced.\r\n\r\nAm I missing something?"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/99103834","html_url":"https://github.com/NixOS/nixpkgs/issues/7659#issuecomment-99103834","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7659","id":99103834,"user":{"login":"edolstra","id":1148549,"avatar_url":"https://avatars.githubusercontent.com/u/1148549?v=3","gravatar_id":"","url":"https://api.github.com/users/edolstra","html_url":"https://github.com/edolstra","followers_url":"https://api.github.com/users/edolstra/followers","following_url":"https://api.github.com/users/edolstra/following{/other_user}","gists_url":"https://api.github.com/users/edolstra/gists{/gist_id}","starred_url":"https://api.github.com/users/edolstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edolstra/subscriptions","organizations_url":"https://api.github.com/users/edolstra/orgs","repos_url":"https://api.github.com/users/edolstra/repos","events_url":"https://api.github.com/users/edolstra/events{/privacy}","received_events_url":"https://api.github.com/users/edolstra/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T14:54:34Z","updated_at":"2015-05-05T14:54:34Z","body":"The separate structure is mostly a remnant of the time when Nixpkgs and NixOS were in separate repositories. It would be great to get rid of the distinction."}}