devShells: only build on x86_64-linux

This commit is contained in:
Max Headroom 2022-08-06 00:55:54 +02:00
parent ecc83f8f52
commit 56b102dd33

View file

@ -1,4 +1,4 @@
{ lib, config, inputs', ... }:
{ lib, config, inputs', system, ... }:
with lib;
let
inherit (inputs'.devshell.legacyPackages) mkShell;
@ -62,6 +62,6 @@ in {
};
});
};
config.devShells = mapAttrs (_: mkProjectShell) config.projectShells;
config.devShells = lib.mkIf (system == "x86_64-linux") (mapAttrs (_: mkProjectShell) config.projectShells);
}