File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,13 @@ stdenvNoCC.mkDerivation (
173173 "--architecture=${ systemdArch } "
174174 "--dry-run=no"
175175 "--size=auto"
176- "--seed=${ seed } "
177176 "--definitions=${ finalAttrs . finalRepartDefinitions } "
178177 "--split=${ lib . boolToString split } "
179178 "--json=pretty"
180179 ]
180+ ++ lib . optionals ( seed != null ) [
181+ "--seed=${ seed } "
182+ ]
181183 ++ lib . optionals createEmpty [
182184 "--empty=create"
183185 ]
Original file line number Diff line number Diff line change 161161 # Generated with `uuidgen`. Random but fixed to improve reproducibility.
162162 default = "0867da16-f251-457d-a9e8-c31f9a3c220b" ;
163163 description = ''
164- A UUID to use as a seed. You can set this to `null ` to explicitly
164+ A UUID to use as a seed. You can set this to `random ` to explicitly
165165 randomize the partition UUIDs.
166+ See {manpage}`systemd-repart(8)` for more information.
166167 '' ;
167168 } ;
168169
You can’t perform that action at this time.
0 commit comments