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 'babashka-1.12.217' in /nix/store/sniaw7fg1qz1ky7k9p44lnxfbjsbg33n-source/pkgs/development/interpreters/babashka/default.nix:76 because it is not available on the requested hostPlatform: hostPlatform.system = "x86_64-darwin" package.meta.platforms = [ "aarch64-darwin" "aarch64-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.