Skip to content

File does not exist error improvement #10816

Open
@gytis-ivaskevicius

Description

Is your feature request related to a problem? Please describe.
When importing untracked nix file error such as is shown: error: path '/nix/store/xxx-source/something.nix' does not exist
I noticed some newbies struggling with it and I think better error message should be shown

Describe the solution you'd like
If it is a git repository it should show something like this:

  • error: path '/nix/store/xxx-source/something.nix' exists but is not tracked by git (Might be annoying to implement)
  • error: path '/nix/store/xxx-source/something.nix' does not exist or is not tracked by git

Describe alternatives you've considered
None, this is more of a nice to have improvement to make onboarding process easier

Priorities

Add 👍 to issues you find important.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    error-messagesConfusing messages and better diagnosticsfeatureFeature request or proposalfetchingNetworking with the outside (non-Nix) world, input locking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions