error: … in the condition of the assert statement at «github:NixOS/nixpkgs/35d3407a3816f3b341d8cf1d60abaf2b7b8166ac?narHash=sha256-BoYPdqk6jlKXy%2BDyUzyGV/CtRGfAhk2MmIgBhsemTGI%3D»/lib/customisation.nix:416:13: 415| drvPath = 416| assert condition; | ^ 417| drv.drvPath; … while evaluating the attribute 'handled' at «github:NixOS/nixpkgs/35d3407a3816f3b341d8cf1d60abaf2b7b8166ac?narHash=sha256-BoYPdqk6jlKXy%2BDyUzyGV/CtRGfAhk2MmIgBhsemTGI%3D»/pkgs/stdenv/generic/check-meta.nix:727:9: 726| valid = "no"; 727| handled = handle { | ^ 728| inherit attrs meta; (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'alaveteli-devenv_version-devenv_version' in /nix/store/gxi37kixag1gcqrb6jfqzfma7rjb0njp-source/nix/versions/generic.nix:334 because it is not available on the requested hostPlatform: hostPlatform.system = "aarch64-darwin" package.meta.platforms = [ "x86_64-linux" "aarch64-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.