Skip to content

Instantly share code, notes, and snippets.

@otobrglez
Created February 1, 2022 14:27
Show Gist options
  • Save otobrglez/335c080ab00dd2d7ca827e32e6ce49c5 to your computer and use it in GitHub Desktop.
Save otobrglez/335c080ab00dd2d7ca827e32e6ce49c5 to your computer and use it in GitHub Desktop.
~/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)
@otobrglez
Copy link
Author

 ~/Projects/compression-puzzle   feature/red-language ●  NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-shell -p red
error: i686 Linux package set can only be used with the x86 family.
(use '--show-trace' to show detailed location information)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment