Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better flake error msg #59

Merged
merged 3 commits into from
Aug 9, 2022
Merged

Conversation

gilescope
Copy link
Contributor

While we don't have native support for flakes yet this PR suggests the workaround suggested in target/lorri#460 if and only if there's no shell.nix and there's a flake.nix found.

I thought about creating the file automatically but I think just suggesting it is nicer.

Copy link
Collaborator

@nyarly nyarly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is 100% better than the nothing we have now. Could you update against canon, please, and I'd be inclined to merge.

One thing I note (and post-merge I'd open an issue for this): using this shim, lorri doesn't track the flake.nix or flake.lock. Until lorri supports flakes natively, a shim that somehow registered them would be amazing.

If you have immediate ideas about that, feel free to incorporate them

@nyarly
Copy link
Collaborator

nyarly commented Jul 26, 2022

@gilescope Are you still inclined to get this merged?

@gilescope
Copy link
Contributor Author

Back from holidays. Sure, have updated it @nyarly - let me know if there's any other changes needed before merge.

@nyarly nyarly merged commit 8612252 into nix-community:canon Aug 9, 2022
@nyarly
Copy link
Collaborator

nyarly commented Aug 9, 2022

Thanks, @gilescope !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants