error: … while evaluating the attribute 'drvPath' at «github:NixOS/nixpkgs/6368eda62c9775c38ef7f714b2555a741c20c72d?narHash=sha256-yKB4G6cKsQsWN7M6rZGk6gkJPDNPIzT05y4qzRyCDlI%3D»/lib/customisation.nix:445:7: 444| // { 445| drvPath = | ^ 446| 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 `driverConfiguration.test_script': … while evaluating definitions from `/nix/store/sniaw7fg1qz1ky7k9p44lnxfbjsbg33n-source/nixos/lib/testing/driver-configuration.nix': … while evaluating the option `testScriptString': … while evaluating definitions from `/nix/store/sniaw7fg1qz1ky7k9p44lnxfbjsbg33n-source/nixos/lib/testing/testScript.nix': … while evaluating the option `testScript': … while evaluating definitions from `makeTest parameters': (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'sqlite-jdbc-3.49.1.0' in /nix/store/sniaw7fg1qz1ky7k9p44lnxfbjsbg33n-source/pkgs/by-name/sq/sqlite-jdbc/package.nix:24 because it is not available on the requested hostPlatform: hostPlatform.system = "aarch64-darwin" package.meta.platforms = [ "aarch64-linux" "arc-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "i686-linux" "loongarch64-linux" "m68k-linux" "sh4-linux" "microblaze-linux" "microblazeel-linux" "mips-linux" "mips64-linux" "mips64el-linux" "mipsel-linux" "powerpc-linux" "powerpc64-linux" "powerpc64le-linux" "riscv32-linux" "riscv64-linux" "s390-linux" "s390x-linux" "x86_64-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.