doc: fix allowUnfreePredicate example following the introduction of pname
Co-Authored-By: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
parent
76761a82e0
commit
eebdaa936f
|
@ -142,7 +142,7 @@
|
||||||
<programlisting>
|
<programlisting>
|
||||||
{
|
{
|
||||||
allowUnfreePredicate = (pkg: builtins.elem
|
allowUnfreePredicate = (pkg: builtins.elem
|
||||||
(builtins.parseDrvName pkg.name).name [
|
(pkg.pname or (builtins.parseDrvName pkg.name).name) [
|
||||||
"flashplayer"
|
"flashplayer"
|
||||||
"vscode"
|
"vscode"
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue