vars in_repo: throw as a default so we can catch it with tryEval

This commit is contained in:
lassulus
2025-01-14 15:53:54 +01:00
parent 17c62612ff
commit 1a70165260

View File

@@ -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}")
); );
}; };
}; };