From a50222b1a33360c693be5ff558757bc06f339c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 26 Feb 2017 10:31:55 +0100 Subject: [PATCH] doc/configuration: tidy up text around #23130 changes --- doc/configuration.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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.