Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: nightlight 0.3.1 -> 1.0.0 https://github.com/smudge/nightlight/releases attrpath: nightlight Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/1ys301npz5fi4mlrmam9b8jd5w1fmfsp-packages.json.drv building '/nix/store/1ys301npz5fi4mlrmam9b8jd5w1fmfsp-packages.json.drv'... Going to be running update for following packages: - nightlight-0.3.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - nightlight-0.3.1: UPDATING ... - nightlight-0.3.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ni/nightlight/package.nix b/pkgs/by-name/ni/nightlight/package.nix index 0cbb748a9d9e..372f5ae6117a 100644 --- a/pkgs/by-name/ni/nightlight/package.nix +++ b/pkgs/by-name/ni/nightlight/package.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "nightlight"; - version = "0.3.1"; + version = "1.0.0"; src = fetchFromGitHub { owner = "smudge"; repo = "nightlight"; tag = "v${version}"; - hash = "sha256-NOphjrqsnO5693Zw3NkX3c74I3PdJ8W6sxYwOEJ1yCU="; + hash = "sha256-xoYqC48WFeulr1m3EiLouVH007PD9bdE7ERZzbjxdvk="; }; - cargoHash = "sha256-v5Oo1AxwvJs66l9CtVjO+WfwgsM16zSLT1SSnDi1kSo="; + cargoHash = "sha256-WtzCk2kBO2cWUfNN+xZ84Go4m5/a3BmBayOzy3uU5Wk="; checkFlags = [ "--skip=repl" 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 nightlight Received ExitFailure 1 when running Raw command: nix --extra-experimental-features nix-command log -f . nightlight --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/nightlight/lib/customisation.nix:416:13: 415| drvPath = 416| assert condition; | ^ 417| drv.drvPath; … while evaluating the attribute 'handled' at /var/cache/nixpkgs-update/worker/worktree/nightlight/pkgs/stdenv/generic/check-meta.nix:745:9: 744| valid = "no"; 745| handled = handle { | ^ 746| inherit attrs meta; (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'nightlight-1.0.0' in /var/cache/nixpkgs-update/worker/worktree/nightlight/pkgs/by-name/ni/nightlight/package.nix:31 because it is not available on the requested hostPlatform: hostPlatform.system = "x86_64-linux" package.meta.platforms = [ "x86_64-darwin" "aarch64-darwin" ] package.meta.badPlatforms = [ { abi = { abi = "n32"; }; cpu = { bits = 64; family = "mips"; }; } ] 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.