Open
Description
I'm currently evaluating devos as my base template for my systems. I can nix build
all my systems now, but nix flake check
gives an error.
Expected Behavior
nix flake check
and everything that needs it, including deploy
should work.
Current Behavior
Error on checking:
error: Package ‘wlrobs-unstable-2021-05-13’ in /nix/store/626qldjl59n3cx00l2sd86734vdj99pk-source/pkgs/applications/video/obs-studio/plugins/wlrobs.nix:20 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)
Interestingly enough, sometimes (e.g. after running bud update
) we get a different error:
error:
Failed assertions:
- Must use Linux for modules that require systemd: emacs, foot, gammastep
- The module wayland.windowManager.sway does not support your platform. It only supports
- aarch64-linux
- armv5tel-linux
- armv6l-linux
- armv7a-linux
- armv7l-linux
- i686-linux
- m68k-linux
- mipsel-linux
- powerpc64-linux
- powerpc64le-linux
- riscv32-linux
- riscv64-linux
- s390-linux
- s390x-linux
- x86_64-linux
Steps to Reproduce
- Checkout the branch https://github.com/pimeys/nixos/tree/devos
- Run
nix flake check
Your Environment
See the posted repo (devos branch) for details.