devShells: only build on x86_64-linux
This commit is contained in:
parent
ecc83f8f52
commit
56b102dd33
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, inputs', ... }:
|
{ lib, config, inputs', system, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
inherit (inputs'.devshell.legacyPackages) mkShell;
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue