mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 08:49:35 +01:00
Merge pull request #14583 from NixOS/repl-typo
repl: Fix incorrect error message
This commit is contained in:
commit
acacdf87b4
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ void NixRepl::loadFlake(const std::string & flakeRefS)
|
||||||
|
|
||||||
auto flakeRef = parseFlakeRef(fetchSettings, flakeRefS, cwd.string(), true);
|
auto flakeRef = parseFlakeRef(fetchSettings, flakeRefS, cwd.string(), true);
|
||||||
if (evalSettings.pureEval && !flakeRef.input.isLocked(fetchSettings))
|
if (evalSettings.pureEval && !flakeRef.input.isLocked(fetchSettings))
|
||||||
throw Error("cannot use ':load-flake' on locked flake reference '%s' (use --impure to override)", flakeRefS);
|
throw Error("cannot use ':load-flake' on unlocked flake reference '%s' (use --impure to override)", flakeRefS);
|
||||||
|
|
||||||
Value v;
|
Value v;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue