vars in_repo: throw as a default so we can catch it with tryEval
This commit is contained in:
@@ -30,7 +30,7 @@ in
|
|||||||
readFile file.config.path
|
readFile file.config.path
|
||||||
else
|
else
|
||||||
# if the file is not found, we want to downgrade the priority, to allow overriding via mkDefault
|
# if the file is not found, we want to downgrade the priority, to allow overriding via mkDefault
|
||||||
mkOptionDefault (readFile file.config.path)
|
mkOptionDefault (throw "File not found: ${file.config.path}")
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user