error: … in the condition of the assert statement at «github:NixOS/nixpkgs/8c3cede7ddc26bd659d2d383b5610efbd2c7a16e?narHash=sha256-rppURzHviaQN131F%2BnLiLdGfcb0uCd9gGP0E5%2Biw9MI%3D»/lib/customisation.nix:416:13: 415| drvPath = 416| assert condition; | ^ 417| drv.drvPath; … while evaluating the attribute 'handled' at «github:NixOS/nixpkgs/8c3cede7ddc26bd659d2d383b5610efbd2c7a16e?narHash=sha256-rppURzHviaQN131F%2BnLiLdGfcb0uCd9gGP0E5%2Biw9MI%3D»/pkgs/stdenv/generic/check-meta.nix:742:9: 741| valid = "no"; 742| handled = handle { | ^ 743| inherit attrs meta; (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'cljdemo-0.1.0' in /nix/store/k5cw9d7rgscbkdy39bgnfn8jhn5in39c-source/lib/mkGraalBin.nix:69 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.