Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: linearmouse 0.12.0 -> 0.13.0 https://github.com/linearmouse/linearmouse/releases attrpath: linearmouse Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/by-name/li/linearmouse/package.nix b/pkgs/by-name/li/linearmouse/package.nix index 6def39908c86..34c8db319f0b 100644 --- a/pkgs/by-name/li/linearmouse/package.nix +++ b/pkgs/by-name/li/linearmouse/package.nix @@ -10,11 +10,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "linearmouse"; - version = "0.12.0"; + version = "0.13.0"; src = fetchurl { url = "https://github.com/linearmouse/linearmouse/releases/download/v${finalAttrs.version}/LinearMouse.dmg"; - hash = "sha256-r/UPPIGM7VpOIqYXTIcuMiN5fUMmP+ZH1/lV+b4Pzzw="; + hash = "sha256-YJJ21dt5h0A0yUaaTrVszebtb9AcUkBPQf1LSTBCeJs="; }; # linearmouse is apfs for some reason and undmg doesnt support that lol Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A linearmouse Received ExitFailure 1 when running Raw command: nix --extra-experimental-features nix-command log -f . linearmouse --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" Standard output: error: … in the condition of the assert statement at /var/cache/nixpkgs-update/worker/worktree/linearmouse/lib/customisation.nix:421:13: 420| drvPath = 421| assert condition; | ^ 422| drv.drvPath; … while evaluating the attribute 'handled' at /var/cache/nixpkgs-update/worker/worktree/linearmouse/pkgs/stdenv/generic/check-meta.nix:686:9: 685| valid = "no"; 686| handled = handle { | ^ 687| inherit attrs meta; (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'linearmouse-0.13.0' in /var/cache/nixpkgs-update/worker/worktree/linearmouse/pkgs/by-name/li/linearmouse/package.nix:40 because it is not available on the requested hostPlatform: hostPlatform.system = "x86_64-linux" package.meta.platforms = [ "aarch64-darwin" ] 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.