File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
modules/system/activation Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 5353 ${ config . boot . bootspec . writer }
5454 ${ optionalString config . boot . bootspec . enableValidation ''${ config . boot . bootspec . validator } "$out/${ config . boot . bootspec . filename } "'' }
5555 '' }
56-
57- ${ config . system . extraSystemBuilderCmds }
5856 '' ;
5957
6058 # Putting it all together. This builds a store path containing
129127 [ "system" "replaceRuntimeDependencies" ]
130128 [ "system" "replaceDependencies" "replacements" ]
131129 )
130+ ( mkRenamedOptionModule [ "system" "extraSystemBuilderCmds" ] [ "system" "systemBuilderCommands" ] )
132131 ] ;
133132
134133 options = {
213212 '' ;
214213 } ;
215214
216- system . extraSystemBuilderCmds = mkOption {
217- type = types . lines ;
218- internal = true ;
219- default = "" ;
220- description = ''
221- This code will be added to the builder creating the system store path.
222- '' ;
223- } ;
224-
225215 system . extraDependencies = mkOption {
226216 type = types . listOf types . pathInStore ;
227217 default = [ ] ;
343333 }
344334 ] ;
345335
346- system . extraSystemBuilderCmds =
336+ system . systemBuilderCommands =
347337 optionalString config . system . copySystemConfiguration ''
348338 ln -s '${ import ../../../lib/from-env.nix "NIXOS_CONFIG" <nixos-config> } ' \
349339 "$out/configuration.nix"
Original file line number Diff line number Diff line change 6464 boot . loader . grub . enable = false ;
6565
6666 specialisation = rec {
67- brokenInitInterface . configuration . config . system . extraSystemBuilderCmds = ''
67+ brokenInitInterface . configuration . config . system . systemBuilderCommands = ''
6868 echo "systemd 0" > $out/init-interface-version
6969 '' ;
7070
You can’t perform that action at this time.
0 commit comments