diff --git a/doc/configuration.xml b/doc/configuration.xml index 064c72a76301..56950e07ab5c 100644 --- a/doc/configuration.xml +++ b/doc/configuration.xml @@ -10,7 +10,7 @@ will prevent installation if any of the following criteria are true: - The packages is thought to be broken, and has had + The package is thought to be broken, and has had its meta.broken set to true. @@ -23,7 +23,14 @@ true: meta.knownVulnerabilities. -Each of these criteria can be altering the nixpkgs +Note that all this is checked during evaluation already, +and the check includes any package that is evaluated. +In particular, all build-time dependencies are checked. +nix-env -qa will (attempt to) hide any packages +that would be refused. + + +Each of these criteria can be altered in the nixpkgs configuration. The nixpkgs configuration for a NixOS system is set in the @@ -68,10 +75,11 @@ configuration file located at add allowBroken = true; to your user's configuration file, like this: - + { allowBroken = true; -} +} + @@ -156,7 +164,7 @@ configuration file located at There are several ways to tweak how Nix handles a package - which has been marked as unfree. + which has been marked as insecure.