warn about unknown flake url paramaters #10370
Labels
feature
Feature request or proposal
fetching
Networking with the outside (non-Nix) world, input locking
good first issue
Quick win for first-time contributors
idea approved
The given proposal has been discussed and approved by the Nix team. An implementation is welcome.
Is your feature request related to a problem? Please describe.
recently i made a typo and accidentally tried to install a package from
github:nixos/nixpkgs?revnixpkgs-unstable
(notice the lack of=
), and nix just built the whole thing successfully (i assume using themaster
branch instead)Describe the solution you'd like
a warning should be displayed if there are unknown keys in a url-style flake reference (eg. "warning: unknown flake attribute XXX, check your spelling or update nix")
at least for
github:
orflake:
urls, i assume forgit+http
url unrecognized paramaters are just passed to the http server.Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: