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

Remove flake dependency on nixpkgs/core #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Remove flake dependency on nixpkgs/core #2

wants to merge 4 commits into from

Conversation

tcmal
Copy link
Collaborator

@tcmal tcmal commented May 16, 2024

This removes the main flake's dependency on nixpkgs (later core), as discussed in auxolotl/core#7.

docs and tests was moved to a subdirectory extra.
Since using a flake in a subdirectory requires you to run nix flake update whenever the main source updates, we instead use npins and regular Nix. There might be a better way to do this I'm not aware of.

The subdirectory isn't strictly required, but it makes it obvious which parts have nixpkgs available to them.

nixfmt was also updated in the new developer environment / formatting check, in order to fix the older versions issues with doc comments. This could be changed to auxolotl/core if auxolotl/core#9 is merged.

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