nixbot

builds

failed eval x86_64-linux.pkgs-gitbutler build #515 · raw · ·

1error:2       … in the condition of the assert statement3         at «github:NixOS/nixpkgs/716c7a2664ca8325617b8a7fbb609273f2c4cae7?narHash=sha256-zbcZ1dmBTPfJ7Mlqh/yLEPGpgJnwuv4Xr1xucy2WqMA%3D»/lib/customisation.nix:416:13:4          415|           drvPath =5          416|             assert condition;6             |             ^7          417|             drv.drvPath;89       … while evaluating the attribute 'handled'10         at «github:NixOS/nixpkgs/716c7a2664ca8325617b8a7fbb609273f2c4cae7?narHash=sha256-zbcZ1dmBTPfJ7Mlqh/yLEPGpgJnwuv4Xr1xucy2WqMA%3D»/pkgs/stdenv/generic/check-meta.nix:727:9:11          726|         valid = "no";12          727|         handled = handle {13             |         ^14          728|           inherit attrs meta;1516       (stack trace truncated; use '--show-trace' to show the full, detailed trace)1718       error: Refusing to evaluate package 'gitbutler-0.21.0' in /nix/store/h84gf3axlp9jjzdlykzi65qa5j3w7xa8-source/packages/gitbutler/package.nix:151 because it has an unfree license (‘fsl11Mit’)19       a) To temporarily allow unfree packages, you can use an environment variable20          for a single invocation of the nix tools.2122            $ export NIXPKGS_ALLOW_UNFREE=12324          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,25                then pass `--impure` in order to allow use of environment variables.2627       b) For `nixos-rebuild` you can set28         { nixpkgs.config.allowUnfree = true; }29       in configuration.nix to override this.3031       Alternatively you can configure a predicate to allow specific packages:32         { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [33             "gitbutler"34           ];35         }3637       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add38         { allowUnfree = true; }39       to ~/.config/nixpkgs/config.nix.