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

devenv: add build subcommand #599

Closed

Conversation

bobvanderlinden
Copy link
Contributor

As discussed in https://discord.com/channels/1036369714731036712/1100034303913635860

This adds a devenv build command. It allows building derivations inside a devenv config. For instance:

$ devenv build languages.python.package

I explicitly did not pass through any options to nix build, as I wasn't sure of the use-cases and the future compatibility. We might want to explicitly add those once the use-case arises.

My use-case for this is to wrap some of the tests of my project into a Nix build, but I didn't want to migrate the project from using devenv to using devenv within flakes.

@domenkozar
Copy link
Member

domenkozar commented Aug 2, 2023

This is now part of #745

❯ devenv build languages.python.package
• Built:
• /nix/store/1r6n7v2wam7gkr18gxccpg7p5ywgw551-python3-3.10.12

@domenkozar domenkozar closed this Aug 2, 2023
@domenkozar domenkozar mentioned this pull request Aug 2, 2023
7 tasks
@domenkozar domenkozar mentioned this pull request Mar 11, 2024
2 tasks
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