* Require fileSystems to be set.
svn path=/nixos/trunk/; revision=34080
This commit is contained in:
parent
71d867daf6
commit
67d5f2b444
@ -304,7 +304,7 @@ let
|
|||||||
|
|
||||||
# !!! copy&pasted from upstart-jobs/filesystems.nix.
|
# !!! copy&pasted from upstart-jobs/filesystems.nix.
|
||||||
mountPoints =
|
mountPoints =
|
||||||
if fileSystems == null
|
if fileSystems == []
|
||||||
then abort "You must specify the fileSystems option!"
|
then abort "You must specify the fileSystems option!"
|
||||||
else map (fs: fs.mountPoint) fileSystems;
|
else map (fs: fs.mountPoint) fileSystems;
|
||||||
devices = map (fs: if fs.device != null then fs.device else "/dev/disk/by-label/${fs.label}") fileSystems;
|
devices = map (fs: if fs.device != null then fs.device else "/dev/disk/by-label/${fs.label}") fileSystems;
|
||||||
|
@ -69,7 +69,7 @@ in
|
|||||||
<command>mkdir -p</command> .
|
<command>mkdir -p</command> .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
type = types.nullOr (types.list types.optionSet);
|
type = types.list types.optionSet;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user