error: … while evaluating the attribute 'drvPath' at «github:NixOS/nixpkgs/35d3407a3816f3b341d8cf1d60abaf2b7b8166ac?narHash=sha256-BoYPdqk6jlKXy%2BDyUzyGV/CtRGfAhk2MmIgBhsemTGI%3D»/lib/customisation.nix:415:11: 414| // { 415| drvPath = | ^ 416| assert condition; … while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating the option `driverConfigurationFile': … while evaluating the option `driverConfiguration.vms.testserver.start_script': … while evaluating definitions from `/nix/store/2gi66ywhbj66ssbz5bhgibzafa15m7zy-source/nixos/lib/testing/driver-configuration.nix': … while evaluating the option `nodes.testserver.system.build.toplevel': … while evaluating definitions from `/nix/store/2gi66ywhbj66ssbz5bhgibzafa15m7zy-source/nixos/modules/system/activation/top-level.nix': … while evaluating the option `nodes.testserver.services.nginx.virtualHosts."alaveteli.test".locations."~* ^/assets/[\\w\\-\\/]+.(ico|gif|jpe?g|png|js|css|svg|ttf|otf|eot|webp|woff|woff2)\$".root': … while evaluating definitions from `/nix/store/zk6jym8xk9ag87s86nb3x29yxv9r372k-source/nix/tests/alaveteli-server.nix': (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'alaveteli-dev-dev' in /nix/store/zk6jym8xk9ag87s86nb3x29yxv9r372k-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.