From eebdaa936fb03ed8879ae74e2d7a24656d2d454d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Thu, 7 Nov 2019 13:58:37 +0100 Subject: [PATCH] doc: fix allowUnfreePredicate example following the introduction of pname Co-Authored-By: Dmitry Kalinkin --- doc/using/configuration.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/using/configuration.xml b/doc/using/configuration.xml index a68ae739f52e..6406c3af3ec5 100644 --- a/doc/using/configuration.xml +++ b/doc/using/configuration.xml @@ -142,7 +142,7 @@ { allowUnfreePredicate = (pkg: builtins.elem - (builtins.parseDrvName pkg.name).name [ + (pkg.pname or (builtins.parseDrvName pkg.name).name) [ "flashplayer" "vscode" ]);