Open ivan-tkatchev opened 2 days ago
Counterintuitively, specifying a flake like this, with a "type" = "file"
attrset key turns off the GET parameter removal logic.
important-key = {
url = "https://example.com/export?type=whatever";
type = "file";
flake = false;
};
Describe the bug
If a flake url has
name
ortype
as parameters, then they will be silently removed from the url."name" and "type" are extremely common names for parameters and aren't Nix-specific, silently removing them is a big usability bug.