From 56b102dd33eaf220d58f61ed62816bb7543ea45f Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 6 Aug 2022 00:55:54 +0200 Subject: [PATCH] devShells: only build on x86_64-linux --- packages/modules/devshell.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/modules/devshell.nix b/packages/modules/devshell.nix index 58a1c19..2cfda02 100644 --- a/packages/modules/devshell.nix +++ b/packages/modules/devshell.nix @@ -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); }