Skip to content

Commit acacdf8

Browse files
authored
Merge pull request #14583 from NixOS/repl-typo
repl: Fix incorrect error message
2 parents d5b6e1a + 3511a91 commit acacdf8

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)