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

Ability to use non-default devShell #31

Open
sir4ur0n opened this issue Feb 7, 2022 · 2 comments
Open

Ability to use non-default devShell #31

sir4ur0n opened this issue Feb 7, 2022 · 2 comments

Comments

@sir4ur0n
Copy link

sir4ur0n commented Feb 7, 2022

Current implementation hard-codes the use of devShell.${system} while other shells can be provided in flake.nix at devShell.${system}.<whatever>, e.g. devShell.${system}.foo.

It would be useful to provide means of accessing these other shells too.

@adrian-gierakowski
Copy link

this could be solved generically the solution proposed here

@adrian-gierakowski
Copy link

adrian-gierakowski commented Feb 18, 2023

actually, you can actually do that with:

resultOfFlakeCompat.defaultNix.devShells.${system}.foo

you can accept any outputs of the flake this way, see here

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

No branches or pull requests

2 participants