error: … while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'nix-shell' whose name attribute is located at «github:NixOS/nixpkgs/bd0ff2d3eac24699c3664d5966b9ef36f388e2ca?narHash=sha256-q8yYEC5f1mFlQO9RGna4LTc9QrcvWunX6FYp83munkQ%3D»/pkgs/stdenv/generic/make-derivation.nix:647:11 … while evaluating attribute 'buildInputs' of derivation 'nix-shell' at «github:NixOS/nixpkgs/bd0ff2d3eac24699c3664d5966b9ef36f388e2ca?narHash=sha256-q8yYEC5f1mFlQO9RGna4LTc9QrcvWunX6FYp83munkQ%3D»/pkgs/stdenv/generic/make-derivation.nix:718:11: 717| depsHostHost = hostHostOutputs; 718| buildInputs = hostTargetOutputs; | ^ 719| depsTargetTarget = targetTargetOutputs; (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'babashka-1.12.218' in /nix/store/vlq3lnsh2xij0d9blab16pq0sr09z4nl-source/pkgs/by-name/ba/babashka-unwrapped/package.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.