diff options
author | tomberek <tomberek@users.noreply.github.com> | 2022-01-14 09:16:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 09:16:34 -0500 |
commit | 2dead2092470f7b0440d34035e19b9d8c80db91e (patch) | |
tree | 6cb1659f9e2ac1152ee7faed4a612b23917bcf10 /src | |
parent | f4041893688914db9a3598ce5f6186b049a48678 (diff) |
Apply suggestions from code review
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/flake/flakeref.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flakeref.cc b/src/libexpr/flake/flakeref.cc index b3f01746e..06f8511b6 100644 --- a/src/libexpr/flake/flakeref.cc +++ b/src/libexpr/flake/flakeref.cc @@ -136,7 +136,7 @@ std::pair<FlakeRef, std::string> parseFlakeRefWithFragment( throw Error("unable to find a flake before encountering git boundary at '%s'", path); else { if (lstat(path).st_dev != device) - throw Error("unable to find a flake before encountering filesystem boundary at '%s'", path); + throw Error("path '%s' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)", origPath); } path = dirOf(path); } |