{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12595","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12595/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12595/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12595/events","html_url":"https://github.com/NixOS/nixpkgs/issues/12595","id":128410658,"number":12595,"title":"broadcom driver doesn't build with generated config","user":{"login":"georgewhewell","id":1176131,"avatar_url":"https://avatars.githubusercontent.com/u/1176131?v=3","gravatar_id":"","url":"https://api.github.com/users/georgewhewell","html_url":"https://github.com/georgewhewell","followers_url":"https://api.github.com/users/georgewhewell/followers","following_url":"https://api.github.com/users/georgewhewell/following{/other_user}","gists_url":"https://api.github.com/users/georgewhewell/gists{/gist_id}","starred_url":"https://api.github.com/users/georgewhewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgewhewell/subscriptions","organizations_url":"https://api.github.com/users/georgewhewell/orgs","repos_url":"https://api.github.com/users/georgewhewell/repos","events_url":"https://api.github.com/users/georgewhewell/events{/privacy}","received_events_url":"https://api.github.com/users/georgewhewell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-24T17:03:53Z","updated_at":"2016-01-24T17:08:17Z","closed_at":null,"body":"In the configuration generated by nixos-generate-config, the following line enabled the broadcom driver:\r\n\r\n    boot.extraModulePackages = [ \"${config.boot.kernelPackages.broadcom_sta}\" ];\r\n\r\nnixos-rebuild fails with:\r\n\r\n    error: path ‘/nix/store/4s1fc4sqbl41wpz3lfx894aamh1k8znl-broadcom-sta-6.30.223.248-4.4’ does not exist and cannot be created\r\n\r\nIf I replace the line in my config with\r\n\r\n    boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];\r\n\r\nthe driver is built correctly. This behaviour started happening fairly recently (~1 week). Prior to this, the first variant worked fine. "},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/174319847","html_url":"https://github.com/NixOS/nixpkgs/issues/12595#issuecomment-174319847","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12595","id":174319847,"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-01-24T17:08:17Z","updated_at":"2016-01-24T17:08:17Z","body":"This sounds more like a Nix issue than a nixpkgs one, but let's leave it here and highlight @edolstra."}}