Commit 2e1db4d 1 parent f30464d commit 2e1db4d Copy full SHA for 2e1db4d
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 92
92
{
93
93
options = {
94
94
kernels . python3 = mkOptions ( mkOption {
95
- description = "Python 3 version" ;
96
- type = types . enum (
95
+ example = "Python 3 version" ;
96
+ type = types . enum ( lib . unique (
97
97
[ "python3" ]
98
98
++ ( builtins . filter ( n : builtins . match "^python3[0-9]*$" n != null ) ( builtins . attrNames config . pkgs ) )
99
- ) ;
99
+ ) ) ;
100
100
default = "python3" ;
101
101
} ) ;
102
102
103
103
kernels . pypy3 = mkOptions ( mkOption {
104
- description = "PyPy 3 version" ;
105
- type = types . enum (
104
+ example = "PyPy 3 version" ;
105
+ type = types . enum ( lib . unique (
106
106
[ "pypy3" ]
107
107
++ ( builtins . filter ( n : builtins . match "^pypy3[0-9]*$" n != null ) ( builtins . attrNames config . pkgs ) )
108
- ) ;
108
+ ) ) ;
109
109
default = "pypy3" ;
110
110
} ) ;
111
111
} ;
You can’t perform that action at this time.
0 commit comments