1error:2 … while calling the 'derivationStrict' builtin3 at «nix-internal»/derivation-internal.nix:37:12:4 36|5 37| strict = derivationStrict drvAttrs;6 | ^7 38|89 … while evaluating derivation 'treefmt'10 whose name attribute is located at «github:NixOS/nixpkgs/8be7bd0c83f12e2e3bbba07c9044d6fed9e66f7f?narHash=sha256-QcpQOT0NQEFkI77t%2BYXPZqDJc35iIodG7zinieOwFUg%3D»/pkgs/stdenv/generic/make-derivation.nix:651:111112 … while evaluating attribute 'text' of derivation 'treefmt'13 at «github:NixOS/nixpkgs/8be7bd0c83f12e2e3bbba07c9044d6fed9e66f7f?narHash=sha256-QcpQOT0NQEFkI77t%2BYXPZqDJc35iIodG7zinieOwFUg%3D»/pkgs/build-support/trivial-builders/default.nix:136:11:14 135| name15 136| text16 | ^17 137| executable1819 … while evaluating the option `build.configFile':2021 … while evaluating the option `settings.formatter.nixfmt.command':2223 (stack trace truncated; use '--show-trace' to show the full, detailed trace)2425 error: Refusing to evaluate package 'glibc-nolibgcc-2.42-67' in /nix/store/lk453zl4b266layvrpg43123ljlnxknm-source/pkgs/development/libraries/glibc/default.nix:218 because it is not available on the requested hostPlatform:26 hostPlatform.system = "aarch64-darwin"27 package.meta.platforms = [28 "x86_64-linux"29 "aarch64-linux"30 "arc-linux"31 "armv5tel-linux"32 "armv6l-linux"33 "armv7a-linux"34 "armv7l-linux"35 "i686-linux"36 "loongarch64-linux"37 "m68k-linux"38 "sh4-linux"39 "microblaze-linux"40 "microblazeel-linux"41 "mips-linux"42 "mips64-linux"43 "mips64el-linux"44 "mipsel-linux"45 "powerpc-linux"46 "powerpc64-linux"47 "powerpc64le-linux"48 "riscv32-linux"49 "riscv64-linux"50 "s390-linux"51 "s390x-linux"52 ]53 package.meta.badPlatforms = [ ]5455 a) To temporarily allow packages that are unsupported for this system, you can use an environment variable56 for a single invocation of the nix tools.5758 $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=15960 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,61 then pass `--impure` in order to allow use of environment variables.6263 b) For `nixos-rebuild` you can set64 { nixpkgs.config.allowUnsupportedSystem = true; }65 in configuration.nix to override this.6667 c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add68 { allowUnsupportedSystem = true; }69 to ~/.config/nixpkgs/config.nix.