Skip to content

Commit 3511a91

Browse files
committed
repl: Fix incorrect error message
1 parent f8141a2 commit 3511a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcmd/repl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ void NixRepl::loadFlake(const std::string & flakeRefS)
739739

740740
auto flakeRef = parseFlakeRef(fetchSettings, flakeRefS, cwd.string(), true);
741741
if (evalSettings.pureEval && !flakeRef.input.isLocked(fetchSettings))
742-
throw Error("cannot use ':load-flake' on locked flake reference '%s' (use --impure to override)", flakeRefS);
742+
throw Error("cannot use ':load-flake' on unlocked flake reference '%s' (use --impure to override)", flakeRefS);
743743

744744
Value v;
745745

0 commit comments

Comments
 (0)