diff options
author | Alois Wohlschlager <alois1@gmx-topmail.de> | 2024-08-17 20:55:41 +0200 |
---|---|---|
committer | Alois Wohlschlager <alois1@gmx-topmail.de> | 2024-08-21 17:57:23 +0200 |
commit | e3c289dbe945415367dc1f54f85ad2452f5a97e0 (patch) | |
tree | efb2480cb9e9fc7ffa5a90609033994a541302aa /src/libcmd/repl.cc | |
parent | e38410799b5b78b2fc2b0c9e4b1dc0dfc5801097 (diff) |
libutil/config: unify path setting types
There have been multiple setting types for paths that are supposed to be
canonicalised, depending on whether zero or one, one, or any number of paths is
to be specified. Naturally, they behaved in slightly different ways in the
code. Simplify things by unifying them and removing special behaviour (mainly
the "multiple paths type can coerce to boolean" thing).
Change-Id: I7c1ce95e9c8e1829a866fb37d679e167811e9705
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r-- | src/libcmd/repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index b8bfc25eb..ce19bc1eb 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -926,7 +926,7 @@ void NixRepl::loadFiles() void NixRepl::loadReplOverlays() { - if (!evalSettings.replOverlays) { + if (evalSettings.replOverlays.get().empty()) { return; } |