From b0c1583a0b606560a4a47322fc849cfc1cfa0090 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 10 Jan 2021 22:30:22 +0100 Subject: doc: stdenv.lib -> lib Part of: https://github.com/NixOS/nixpkgs/issues/108938 Changing the documentation to not refer to stdenv.lib is the first step to make people use it directly. --- doc/using/configuration.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/using') diff --git a/doc/using/configuration.xml b/doc/using/configuration.xml index 336bdf5b26566..1e1df867e08ef 100644 --- a/doc/using/configuration.xml +++ b/doc/using/configuration.xml @@ -157,7 +157,7 @@ The following example configuration whitelists the licenses amd and wtfpl: { - whitelistedLicenses = with stdenv.lib.licenses; [ amd wtfpl ]; + whitelistedLicenses = with lib.licenses; [ amd wtfpl ]; } @@ -165,7 +165,7 @@ The following example configuration blacklists the gpl3Only and agpl3Only licenses: { - blacklistedLicenses = with stdenv.lib.licenses; [ agpl3Only gpl3Only ]; + blacklistedLicenses = with lib.licenses; [ agpl3Only gpl3Only ]; } -- cgit 1.4.1