{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7874","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7874/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7874/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7874/events","html_url":"https://github.com/NixOS/nixpkgs/issues/7874","id":77357552,"number":7874,"title":"More attributes for haskell-ng's interative environment","user":{"login":"bennofs","id":3192959,"avatar_url":"https://avatars.githubusercontent.com/u/3192959?v=3","gravatar_id":"","url":"https://api.github.com/users/bennofs","html_url":"https://github.com/bennofs","followers_url":"https://api.github.com/users/bennofs/followers","following_url":"https://api.github.com/users/bennofs/following{/other_user}","gists_url":"https://api.github.com/users/bennofs/gists{/gist_id}","starred_url":"https://api.github.com/users/bennofs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennofs/subscriptions","organizations_url":"https://api.github.com/users/bennofs/orgs","repos_url":"https://api.github.com/users/bennofs/repos","events_url":"https://api.github.com/users/bennofs/events{/privacy}","received_events_url":"https://api.github.com/users/bennofs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/haskell","name":"haskell","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-17T17:46:46Z","updated_at":"2015-05-17T19:10:41Z","closed_at":null,"body":"For my workflow, it would be nice if the `.env` environment worked more like the real package. In particular, I propose the following extra passthrough attributes for the shell environment:\r\n\r\n* `base`: refers back to the \"real\" package. For example, `lens.env.base` would be equal to `lens`.\r\n* `override`: behaves just like override on the original package. `lens.env.override f = (lens.override f).env`\r\n* `overrideScope`: like `override`, overrides the scope of the original package and takes the env of the resulting package.\r\n\r\nAny thoughts? @peti "},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/102836027","html_url":"https://github.com/NixOS/nixpkgs/issues/7874#issuecomment-102836027","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/7874","id":102836027,"user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T19:10:41Z","updated_at":"2015-05-17T19:10:41Z","body":"I'm not sure whether I see a use-case for those extensions. Can you give a brief example to illustrate a case where an attribute like `base` would be helpful?"}}