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>
|
||||
{
|
||||
allowUnfreePredicate = (pkg: builtins.elem
|
||||
(builtins.parseDrvName pkg.name).name [
|
||||
(pkg.pname or (builtins.parseDrvName pkg.name).name) [
|
||||
"flashplayer"
|
||||
"vscode"
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user