Skip to content

remove all usages of pre-commit-check in nix #3024

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 8, 2022
Merged

Conversation

kokobd
Copy link
Collaborator

@kokobd kokobd commented Jul 8, 2022

In #2967, @teto points out nix flake show is broken due to some usages of pre-commit-check were not removed. As pre-commit-check is already removed from flake input, I believe we can remove the remaining usages of it safely.

However, nix flake show and nix flake check still fail due to our implicit use of IFD(import from derivation), see: NixOS/nix#4265. With IFD, these commands are trying to build all systems listed in flake-utils.lib.eachSystem.

@teto
Copy link
Contributor

teto commented Jul 8, 2022

that fixes it for me. @guibou

@michaelpj michaelpj merged commit 5dc134e into master Jul 8, 2022
@kokobd kokobd deleted the fix-nix-check branch July 10, 2022 02:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants