Skip to content

Add documentation for nixpkgs.config settings - #5953

Closed
matthiasbeyer wants to merge 4 commits into
NixOS:masterfrom
matthiasbeyer:doc-nixpkgs_config
Closed

matthiasbeyer wants to merge 4 commits into
NixOS:masterfrom
matthiasbeyer:doc-nixpkgs_config

Conversation

@matthiasbeyer

Copy link
Copy Markdown
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
Copy Markdown
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

jgeerds commented Jan 25, 2015

Copy link
Copy Markdown
Member

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

@matthiasbeyer

Copy link
Copy Markdown
Contributor Author

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

@domenkozar

Copy link
Copy Markdown
Member

Thanks, I'll take it from here :)

@matthiasbeyer

Copy link
Copy Markdown
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
Copy Markdown
Member

Thanks! Pushed and updated in 8408136

@matthiasbeyer

Copy link
Copy Markdown
Contributor Author

Why not merging it via Merge?

@matthiasbeyer
matthiasbeyer deleted the doc-nixpkgs_config branch January 26, 2015 07:35
Comment thread doc/packageconfig.xml

Copy link
Copy Markdown
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