1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 12:41:15 +02:00

Remove dead code

This commit is contained in:
Eelco Dolstra 2024-12-23 16:03:13 +01:00
parent 8534c4222c
commit 9223d64ac6

View file

@ -195,10 +195,6 @@ std::pair<FlakeRef, std::string> parsePathFlakeRefWithFragment(
throw BadURL("flake reference '%s' is not an absolute path", url);
}
fetchers::Attrs attrs;
attrs.insert_or_assign("type", "path");
attrs.insert_or_assign("path", path);
return fromParsedURL(fetchSettings, {
.url = path,
.base = path,