-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flakes check errors on unsupported system #418
Comments
Having the same problem with error: Package ‘vscode-1.63.2’ in /nix/store/0gwjpjvi1gjma5d8cdpbxq8pxacnjs6r-source/pkgs/applications/editors/vscode/vscode.nix:45 is not supported on ‘i686-linux’, 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) |
This error almost always happens when you use IFD in some way. The easiest solution is to set If you don't know what IFD is: https://nixos.wiki/wiki/Import_From_Derivation |
I've been getting similar errors coming from @pimeys I know it's been quite a while since you opened this, but if you're interested/able, could you provide the full output of |
This should be fixed by 482d571. Another solution is to set |
I'm currently evaluating devos as my base template for my systems. I can
nix build
all my systems now, butnix flake check
gives an error.Expected Behavior
nix flake check
and everything that needs it, includingdeploy
should work.Current Behavior
Error on checking:
Interestingly enough, sometimes (e.g. after running
bud update
) we get a different error:Steps to Reproduce
nix flake check
Your Environment
See the posted repo (devos branch) for details.
The text was updated successfully, but these errors were encountered: