You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Adding a simple pre-commit hook yield's in flake build error.
To reproduce
pre-commit.hooks = {
shellcheck.enable = true;
};
Error:
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'devenv-shell'
whose name attribute is located at /nix/store/bv68i4l7g6s5sixxm0c9lcjdxhlkg0n5-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'DEVENV_PROFILE' of derivation 'devenv-shell'
at «none»:0: (source not available)
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'enabledPackages' missing
at /nix/store/c8kfbl8b8z0gxzwy0xs29hgw1y13fy2w-source/src/modules/integrations/pre-commit.nix:26:49:
25| '';
26| packages = [ config.pre-commit.package ] ++ config.pre-commit.enabledPackages;
| ^
27| enterShell = config.pre-commit.installationScript;
Describe the bug
Adding a simple
pre-commit
hook yield's in flake build error.To reproduce
Error:
Version
Paste the output of
$ devenv version
here.The text was updated successfully, but these errors were encountered: