mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
* 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.
|
||||
mountPoints =
|
||||
if fileSystems == null
|
||||
if fileSystems == []
|
||||
then abort "You must specify the fileSystems option!"
|
||||
else map (fs: fs.mountPoint) 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> .
|
||||
'';
|
||||
|
||||
type = types.nullOr (types.list types.optionSet);
|
||||
type = types.list types.optionSet;
|
||||
|
||||
options = {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user