{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6221","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6221/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6221/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6221/events","html_url":"https://github.com/NixOS/nixpkgs/issues/6221","id":56923986,"number":6221,"title":"All stdenvs should have a generic libc attribute","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/mass-rebuild","name":"mass-rebuild","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-02-07T20:08:03Z","updated_at":"2015-08-03T06:52:21Z","closed_at":null,"body":"Currently, the linux stdenv has \r\n\r\n```nix\r\nextraAttrs = {\r\n      inherit (stage4.pkgs) glibc;\r\n      ...\r\n};\r\n```\r\n\r\nwhich gives it a glibc attribute, but now that we're getting a proper darwin stdenv, it would be nice to be able to refer to its standard library generically. Darwin's stdenv already has a `libc` in its `extraAttrs`, so I think the solution to this would be as simple as putting that attribute into the linux stdenv's `extraAttrs`, or into the generic stdenv builder. Adding attributes to the various bootstrap phases will cause a massive linux rebuild though..."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/127143255","html_url":"https://github.com/NixOS/nixpkgs/issues/6221#issuecomment-127143255","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6221","id":127143255,"user":{"login":"vcunat","id":1785925,"avatar_url":"https://avatars.githubusercontent.com/u/1785925?v=3","gravatar_id":"","url":"https://api.github.com/users/vcunat","html_url":"https://github.com/vcunat","followers_url":"https://api.github.com/users/vcunat/followers","following_url":"https://api.github.com/users/vcunat/following{/other_user}","gists_url":"https://api.github.com/users/vcunat/gists{/gist_id}","starred_url":"https://api.github.com/users/vcunat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcunat/subscriptions","organizations_url":"https://api.github.com/users/vcunat/orgs","repos_url":"https://api.github.com/users/vcunat/repos","events_url":"https://api.github.com/users/vcunat/events{/privacy}","received_events_url":"https://api.github.com/users/vcunat/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T06:52:21Z","updated_at":"2015-08-03T06:52:21Z","body":"@joncfoo: as noted, for now there's at least `stdenv.cc.libc` attribute (working for darwin and linux at least)."}}