Created
February 1, 2022 14:27
-
-
Save otobrglez/335c080ab00dd2d7ca827e32e6ce49c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Projects/compression-puzzle feature/red-language ● nix-env -iA nixpkgs.red | |
installing 'red-0.6.4' | |
error: Package ‘red-0.6.4’ in /nix/store/02jzg4iiafapgb2p77aspm6ama87qp5y-nixpkgs-22.05pre338661.3c52ea8c921/nixpkgs/pkgs/development/interpreters/red/default.nix:81 is not supported on ‘x86_64-darwin’, refusing to evaluate. | |
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 | |
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. | |
(use '--show-trace' to show detailed location information) |
Author
otobrglez
commented
Feb 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment