Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: rectangle 2.0.4 -> 2.0.5 https://github.com/rxhanson/Rectangle/releases attrpath: rectangle Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/z8mik8wlway34nl90bvlk6igyspk6532-packages.json.drv building '/nix/store/z8mik8wlway34nl90bvlk6igyspk6532-packages.json.drv'... Going to be running update for following packages: - rectangle-2.0.4 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - rectangle-2.0.4: UPDATING ... - rectangle-2.0.4: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/re/rectangle/package.nix b/pkgs/by-name/re/rectangle/package.nix index 626acab4229a..6206fb6975c2 100644 --- a/pkgs/by-name/re/rectangle/package.nix +++ b/pkgs/by-name/re/rectangle/package.nix @@ -126,13 +126,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "rectangle"; - version = "2.0.4"; + version = "2.0.5"; src = fetchFromGitHub { owner = "rxhanson"; repo = "Rectangle"; tag = "v${finalAttrs.version}"; - hash = "sha256-je+LQWsbM8PB8iSz8qW/PpY+bO1KEE60JSr+HZxkGlc="; + hash = "sha256-/BXzh/pnUFr36r4y6kl6gcGKjyMadtdRL7wGs5bRGy0="; }; nativeBuildInputs = [ No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A rectangle Received ExitFailure 1 when running Raw command: nix --extra-experimental-features nix-command log -f . rectangle --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/rectangle/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/rectangle/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 'rectangle-2.0.5' in /var/cache/nixpkgs-update/worker/worktree/rectangle/pkgs/by-name/re/rectangle/package.nix:298 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.