Skip to content

Add support for nix flakes #97

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amadejkastelic
Copy link

@amadejkastelic amadejkastelic commented Apr 27, 2025

Status Type Config Change
Ready Feature Yes

Problem

Nix flakes are currently not supported. Closes #87, closes #90, closes #81, closes #74, closes #56, closes #53

Solution

I have added a new option that is disabled by default, which enables support for flakes and prioritizes them (fallback to shell.nix if flake.lock does not exist).

Tested with a simple go project:
image

Deploy Notes

New config parameters:

  • nixEnvSelector.useFlakes : Enable support for nix flakes

@amadejkastelic amadejkastelic marked this pull request as ready for review April 27, 2025 19:33
@amadejkastelic amadejkastelic changed the title Implement support for flake.nix Add support for nix flakes Apr 27, 2025
@arrterian
Copy link
Owner

Amazing job. Thank you @amadejkastelic

Will test it and then release if everything works fine

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