File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed
Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 141141 imports = [
142142 ( mkRemovedOptionModule [ "nesting" "clone" ] "Use `specialisation.«name» = { inheritParentConfig = true; configuration = { ... }; }` instead." )
143143 ( mkRemovedOptionModule [ "nesting" "children" ] "Use `specialisation.«name».configuration = { ... }` instead." )
144+ ../build.nix
144145 ] ;
145146
146147 options = {
147148
148- system . build = mkOption {
149- internal = true ;
150- default = { } ;
151- type = types . attrs ;
152- description = ''
153- Attribute set of derivations used to setup the system.
154- '' ;
155- } ;
156-
157149 specialisation = mkOption {
158150 default = { } ;
159151 example = lib . literalExpression "{ fewJobsManyCores.configuration = { nix.buildCores = 0; nix.maxJobs = 1; }; }" ;
Original file line number Diff line number Diff line change 1+ { lib , ... } :
2+ let
3+ inherit ( lib ) mkOption types ;
4+ in {
5+ options = {
6+ # TODO: replace by submodule with free-form type
7+ system . build = mkOption {
8+ internal = true ;
9+ default = { } ;
10+ type = types . attrs ;
11+ description = ''
12+ Attribute set of derivations used to set up the system.
13+ '' ;
14+ } ;
15+ } ;
16+ }
You can’t perform that action at this time.
0 commit comments