diff options
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/flake/flakeref.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/libexpr/flake/flakeref.cc b/src/libexpr/flake/flakeref.cc index 8668961fe..1c90bfc43 100644 --- a/src/libexpr/flake/flakeref.cc +++ b/src/libexpr/flake/flakeref.cc @@ -204,13 +204,7 @@ std::pair<FlakeRef, std::string> parseFlakeRefWithFragment( std::string fragment; std::swap(fragment, parsedURL.fragment); - // This has a special meaning for flakes and must not be passed to libfetchers. - // Of course this means that libfetchers cannot have fetchers - // expecting an argument `dir` 🫠- ParsedURL urlForFetchers(parsedURL); - urlForFetchers.query.erase("dir"); - - auto input = Input::fromURL(urlForFetchers, isFlake); + auto input = Input::fromURL(parsedURL, isFlake); input.parent = baseDir; return std::make_pair( |