mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
fix markup
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
c23501a3b2
commit
b1abfcd0c2
1 changed files with 1 additions and 1 deletions
|
@ -624,7 +624,7 @@ void NixRepl::loadFile(const Path & path)
|
||||||
void NixRepl::loadFlake(const std::string & flakeRefS)
|
void NixRepl::loadFlake(const std::string & flakeRefS)
|
||||||
{
|
{
|
||||||
if (flakeRefS.empty())
|
if (flakeRefS.empty())
|
||||||
throw Error("cannot use `:load-flake` without a path specified. (Use . for the current working directory.)");
|
throw Error("cannot use ':load-flake' without a path specified. (Use '.' for the current working directory.)");
|
||||||
|
|
||||||
auto flakeRef = parseFlakeRef(flakeRefS, absPath("."), true);
|
auto flakeRef = parseFlakeRef(flakeRefS, absPath("."), true);
|
||||||
if (evalSettings.pureEval && !flakeRef.input.isImmutable())
|
if (evalSettings.pureEval && !flakeRef.input.isImmutable())
|
||||||
|
|
Loading…
Reference in a new issue