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

Flake template for rust-overlay #119

Open
2gn opened this issue Mar 15, 2023 · 2 comments
Open

Flake template for rust-overlay #119

2gn opened this issue Mar 15, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@2gn
Copy link
Contributor

2gn commented Mar 15, 2023

There are great examples in examples/ folder, but I'd like to initialize flake from this project directly using nix flake's --template flag. like so:
nix flake init --template github:oxalica/rust-overlay
Could you add templates option to this project's flake.nix?

@oxalica oxalica added enhancement New feature or request good first issue Good for newcomers labels Mar 15, 2023
@oxalica
Copy link
Owner

oxalica commented Sep 16, 2024

More context: #188 (comment)
There seem to be quite some users 👍 on this issue. I want to know in which scenario do you want flake templates, any idea?

@holly-hacker
Copy link

holly-hacker commented Sep 17, 2024

Currently I keep a rust-flake.nix file around that I copy/paste in every project. I can add more for different project types (eg. one for embedded dev) but I feel like it'd be better if they were all in the same repo, so everybody can make use of them and we can be more certain that best practices are followed. That way, I can just come here, pick a template, and initialize it with a single command.

I'm not saying I expect this repo to house templates for every imaginable project type, but some starting points would be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants