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

Add documentation for nixpkgs.config settings #5953

Closed
wants to merge 4 commits into from

Conversation

matthiasbeyer
Copy link
Contributor

This PR is a follow-up PR for #5892

It documents the following settings:

  • allowUnfree
  • allowUnfreePredicate
  • whitelistedLicenses
  • blacklistedLicenses

Feel free to suggest more documentation at the appropriate places.

…eePredicate, whitelistedLicenses, blacklistedLicenses)
@domenkozar
Copy link
Member

🍺 That's a good start. We have to document how it's used outside of NixOS.

So given a file ~/.nixpkgs/config.nix, you can declare:

{
  allowUnfree = true;
}

@jgeerds
Copy link
Member

jgeerds commented Jan 25, 2015

What are valid values for license?
[ "gpl3" ] or with stdenv.lib.licenses; [ gpl3 ] ?

@matthiasbeyer
Copy link
Contributor Author

@iElectric , @geerds I justed pushed fixups for the stuff you mentioned.

@domenkozar
Copy link
Member

Thanks, I'll take it from here :)

@matthiasbeyer
Copy link
Contributor Author

I'd continue improving it, if you tell me what to improve!

Or do you mean you'll merge it?

@domenkozar
Copy link
Member

Thanks! Pushed and updated in 8408136

@matthiasbeyer
Copy link
Contributor Author

Why not merging it via Merge?

@matthiasbeyer matthiasbeyer deleted the doc-nixpkgs_config branch January 26, 2015 07:35
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="chap-packageconfig">

<title>nixpkgs configuration</title>
Copy link
Member

Choose a reason for hiding this comment

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

Title should be capitalized.

@Artturin Artturin added 6.topic: documentation Meta-discussion about documentation and its workflow and removed old-label: documentation labels Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: documentation Meta-discussion about documentation and its workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants