diff options
author | Arnout Engelen <arnout@bzzt.net> | 2022-07-28 16:42:55 +0200 |
---|---|---|
committer | Arnout Engelen <arnout@bzzt.net> | 2022-07-28 16:54:32 +0200 |
commit | 0dd7792b4cdfba6ee700864919f358187163e850 (patch) | |
tree | 03df00c6d08d4be7e460fc7bd594148f88dbe04d /doc/builders | |
parent | 8f73de28e63988da02426ebb17209e3ae07f103b (diff) |
nixpkgs/doc: remove unused `unfree.xml`
This section was broken out into its own file in efb55d2a42e but apparently never actually got included anywhere. Since then a more detailed section on using unfree packages has been introduced. Copied the introduction and removed the rest of the file.
Diffstat (limited to 'doc/builders')
-rw-r--r-- | doc/builders/packages/unfree.xml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/doc/builders/packages/unfree.xml b/doc/builders/packages/unfree.xml deleted file mode 100644 index 3d4f199f8fb0d..0000000000000 --- a/doc/builders/packages/unfree.xml +++ /dev/null @@ -1,13 +0,0 @@ -<section xmlns="http://docbook.org/ns/docbook" - xmlns:xlink="http://www.w3.org/1999/xlink" - xml:id="unfree-software"> - <title>Unfree software</title> - - <para> - All users of Nixpkgs are free software users, and many users (and developers) of Nixpkgs want to limit and tightly control their exposure to unfree software. At the same time, many users need (or want) to run some specific pieces of proprietary software. Nixpkgs includes some expressions for unfree software packages. By default unfree software cannot be installed and doesn’t show up in searches. To allow installing unfree software in a single Nix invocation one can export <literal>NIXPKGS_ALLOW_UNFREE=1</literal>. For a persistent solution, users can set <literal>allowUnfree</literal> in the Nixpkgs configuration. - </para> - - <para> - Fine-grained control is possible by defining <literal>allowUnfreePredicate</literal> function in config; it takes the <literal>mkDerivation</literal> parameter attrset and returns <literal>true</literal> for unfree packages that should be allowed. - </para> -</section> |