Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules/hardware/all-firmware: add enableAllUnfreeFirmware #25567

Closed
wants to merge 1 commit into from

Conversation

Profpatsch
Copy link
Member

cc @Mic92

By introducing `broadcom-bt-firmware`, lots of machines stopped evaluating.
We need a separate option for those firmwares.
@Mic92 Mic92 closed this in cc75ccb May 7, 2017
Turn on this option if you want to enable all the firmware shipped in linux-firmware. For unfree firmware, see <literal>hardware.enableAllUnfreeFirmware</literal>.
'';
};
hardware.enableAllUnfreeFirmware = mkOption {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it not been possible to just check if allowUnfree was true?

@fpletz
Copy link
Member

fpletz commented May 8, 2017

Reopen because there is a dispute about the fix in cc75ccb.

@fpletz fpletz reopened this May 8, 2017
@Mic92 Mic92 closed this in 192f8e7 May 8, 2017
@Profpatsch Profpatsch reopened this May 8, 2017
@Profpatsch
Copy link
Member Author

@Mic92 I’d prefer for it to be explicit. By automatically including it when allowUnfree is set you suddenly depend on impurities. It will be very hard to debug why your system stopped working when you accidentally rebuild it with allowUnfree disabled once.

The more I think about it, the scarier it gets. I imagine removing some unfree package like Skype, thinking that I can remove the need for unfree packages, suddenly my wifi stops working and I have no idea why. Near un-debuggable.

@Mic92
Copy link
Member

Mic92 commented May 8, 2017

But then the other option naming is also misleading enableAllFirmware does not enable all firmware. Also I do not understand why it is impure? IMHO adding to much options in this area to get hardware working, makes it hard for newcomers, which was the reason I did not want to add a second option here.

@Profpatsch
Copy link
Member Author

enableAllFirmware does not enable all firmware

That’s why I added a reference to the documentation. We should always handle unfree software explicitely and separately imho.

@Mic92
Copy link
Member

Mic92 commented May 8, 2017

All firmware files in this list are proprietary licensed.

@Mic92
Copy link
Member

Mic92 commented May 9, 2017

I made this pull request to solve both concerns: #25636

@Profpatsch Profpatsch closed this May 9, 2017
fpletz pushed a commit that referenced this pull request Jun 13, 2017

Verified

This commit was signed with the committer’s verified signature.
fpletz Franz Pletz
fpletz pushed a commit that referenced this pull request Jun 13, 2017

Verified

This commit was signed with the committer’s verified signature.
fpletz Franz Pletz
license was misinterpreted, it is now only conditionally in the all
firmware list included, if `allowUnfree` is set.

fixes #25567

(cherry picked from commit 192f8e7)
ambrop72 pushed a commit to ambrop72/nixpkgs that referenced this pull request Jun 21, 2017
license was misinterpreted, it is now only conditionally in the all
firmware list included, if `allowUnfree` is set.

fixes NixOS#25567

(cherry picked from commit 192f8e7)
adrianpk added a commit to adrianpk/nixpkgs that referenced this pull request May 31, 2024
license was misinterpreted, it is now only conditionally in the all
firmware list included, if `allowUnfree` is set.

fixes NixOS#25567

(cherry picked from commit 192f8e7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants