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

Broken since 3e13b67 (Jan 14, 2024) #554

Open
PierreR opened this issue Jan 30, 2025 · 1 comment
Open

Broken since 3e13b67 (Jan 14, 2024) #554

PierreR opened this issue Jan 30, 2025 · 1 comment

Comments

@PierreR
Copy link
Contributor

PierreR commented Jan 30, 2025

Since 3e13b67 I have a strange error:

error: evaluation aborted with the following error message: 'Function called without required argument "biome" at /nix/store/2gbh59n42hw939w23vs0rl4a0c5cjf2w-source/nix/tools.nix:7, did you mean "bom", "bomi" or "bore"?'

I have tried several other commit ref included the most recent and this error persist unless I revert to the previous commit ref: 2c6c9d0

Here is my flake.nix file that should reproduce the issue:

{
  inputs = {
    # https://releases.nixos.org/nixos/24.11-small/nixos-24.11.713544.c87f6eefb71d
    nixpkgs.url = "github:nixos/nixpkgs?rev=c87f6eefb71ddde46ecc7fb128dd3f86e48ae69c";
    # Jan 14, 2024
    pre-commit-hooks.url = "github:cachix/git-hooks.nix/3e13b6781019cdecea43c9e001aa1d63fdca259d";
  };
  outputs = { self, nixpkgs, pre-commit-hooks }:
    let
      system = "x86_64-linux";
      pkgs = import nixpkgs {
        inherit system;
        config.allowUnfree = true;
      };
    in
    {
      checks.${system} = {
        pre-commit-check = pre-commit-hooks.lib.${system}.run {
          src = (pkgs.lib.cleanSource ./.);
          hooks = {
            editorconfig-checker.enable = true;
          };
        };
      };
      devShells.${system} = {
        default = with pkgs; mkShell {
          buildInputs = [
            cachix
          ];
          inherit (self.checks.${system}.pre-commit-check) shellHook;
        };
      };
    };
}

Any idea ?

@PierreR PierreR changed the title Broken since 3e13b67 (Dec 14, 2024) Broken since 3e13b67 (Jan 14, 2024) Jan 30, 2025
@sandydoo
Copy link
Member

Your flake evaluates for me without any errors.

The error message you posted suggests that biome is missing from nixpkgs. The only way I see that happening is if you're using a much older version of nixpkgs to override the nixpkgs input for git-hooks.

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

No branches or pull requests

2 participants