Skip to content

chore: migrate binary cache from garnix to cachix#88

Open
chadac wants to merge 3 commits into
nix-configfrom
migrate-garnix-to-cachix
Open

chore: migrate binary cache from garnix to cachix#88
chadac wants to merge 3 commits into
nix-configfrom
migrate-garnix-to-cachix

ci: free disk space before nix build

38c7500
Select commit
Loading
Failed to load commit list.
Garnix CI / nixosConfig iso-aarch64-linux failed Jun 29, 2026 in 19s

nixosConfig iso-aarch64-linux

nixosConfig iso-aarch64-linux failed

Details

Last 100 lines of logs:

iso-aarch64-linux> failed running package evaluation. If you have `nix` installed, you can reproduce the error locally by running: prlimit --as=8589934592 nix build /tmp/garnix-runs-e15e9798e95a4c2f#nixosConfigurations.iso-aarch64-linux.config.system.build.toplevel --dry-run --json
iso-aarch64-linux> warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-trusted-substituters'.
Pass '--accept-flake-config' to trust it
error (ignored): SQLite database '/home/nix-runner/.cache/nix/eval-cache-v6/96bbe45f9c180ba831910d641a87e8b884d0c657cca920a19b4a60d56d751e15.sqlite' is busy
copying path '/nix/store/hvlx2z2lhgd75jaqg1y5wsiipa55vybp-source' from 'https://cache.garnix.io'...
error:
       … while calling the 'head' builtin
         at «github:nixos/nixpkgs/3d8f0f3f72a6cd4d93d0ad13203f2ea1cb7e1456?narHash=sha256-q%2BfF42iv/geEbHfgSzy3tS0FF/EyD6XTZ98E6yxiBO8%3D»/lib/attrsets.nix:1712:13:
         1711|           if length values == 1 || pred here (elemAt values 1) (head values) then
         1712|             head values
             |             ^
         1713|           else

       … while evaluating the attribute 'value'
         at «github:nixos/nixpkgs/3d8f0f3f72a6cd4d93d0ad13203f2ea1cb7e1456?narHash=sha256-q%2BfF42iv/geEbHfgSzy3tS0FF/EyD6XTZ98E6yxiBO8%3D»/lib/modules.nix:1167:7:
         1166|     // {
         1167|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |       ^
         1168|       inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.home-manager-nixos.serviceConfig':

       … while evaluating definitions from `/nix/store/qq5vgwsgqi7l5v5ygw0rqxkp67svayfg-source/nixos':

       … while evaluating the option `home-manager.users.nixos.home.file."/home/nixos/.config/systemd/user/easyeffects.service".source':

       … while evaluating definitions from `/nix/store/qq5vgwsgqi7l5v5ygw0rqxkp67svayfg-source/modules/misc/xdg.nix':

       … while evaluating the option `home-manager.users.nixos.xdg.configFile."systemd/user/easyeffects.service".source':

       … while evaluating definitions from `/nix/store/qq5vgwsgqi7l5v5ygw0rqxkp67svayfg-source/modules/systemd.nix':

       … while evaluating definitions from `/nix/store/qq5vgwsgqi7l5v5ygw0rqxkp67svayfg-source/modules/services/easyeffects.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Refusing to evaluate package 'x42-plugins-20260420' in /nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/pkgs/by-name/x4/x42-plugins/package.nix:67 because it is not available on the requested hostPlatform:
         hostPlatform.system = "aarch64-linux"
         package.meta.platforms = [
           "i686-linux"
           "x86_64-linux"
         ]
         package.meta.badPlatforms = [ ]

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.