error: … while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'wrap-babashka' whose name attribute is located at «github:NixOS/nixpkgs/8c3cede7ddc26bd659d2d383b5610efbd2c7a16e?narHash=sha256-rppURzHviaQN131F%2BnLiLdGfcb0uCd9gGP0E5%2Biw9MI%3D»/pkgs/stdenv/generic/make-derivation.nix:651:11 … while evaluating attribute 'buildCommand' of derivation 'wrap-babashka' at «github:NixOS/nixpkgs/8c3cede7ddc26bd659d2d383b5610efbd2c7a16e?narHash=sha256-rppURzHviaQN131F%2BnLiLdGfcb0uCd9gGP0E5%2Biw9MI%3D»/pkgs/build-support/trivial-builders/default.nix:81:17: 80| enableParallelBuilding = true; 81| inherit buildCommand name; | ^ 82| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]); (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'babashka-1.12.218' in /nix/store/kxf3k5sdq5cbs13sm9w109p5m9lyzh7x-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.