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

feat(flake-module)!: a flake check for each devshell #335

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mightyiam
Copy link

@mightyiam mightyiam commented Jan 8, 2025

Here is a nix flake show

git+file:///home/mightyiam/s/numtide/devshell?dir=templates/flake-parts
├───checks
│   ├───aarch64-darwin
│   │   └───"devshells/default" omitted (use '--all-systems' to show)
│   ├───aarch64-linux
│   │   └───"devshells/default" omitted (use '--all-systems' to show)
│   ├───i686-linux
│   │   └───"devshells/default" omitted (use '--all-systems' to show)
│   ├───x86_64-darwin
│   │   └───"devshells/default" omitted (use '--all-systems' to show)
│   └───x86_64-linux
│       └───"devshells/default": derivation 'devshell'
└───devShells
    ├───aarch64-darwin
    │   └───default omitted (use '--all-systems' to show)
    ├───aarch64-linux
    │   └───default omitted (use '--all-systems' to show)
    ├───i686-linux
    │   └───default omitted (use '--all-systems' to show)
    ├───x86_64-darwin
    │   └───default omitted (use '--all-systems' to show)
    └───x86_64-linux
        └───default: development environment 'devshell'

And here are some questions:

  • Should this be on by default?
    I think it should, but that would add flake outputs to existing users when they bump this input.
    Not sure that's acceptable in this community.
  • Would adding this require also adding an option to enable this?
  • This should also be documented when other questions are answered.
  • Tests? Not sure I see any existing flake-module tests...

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.

1 participant