Skip to content

Commit a26a713

Browse files
committed
fix(mcl): Only build mcl on x86_64-linux
1 parent 92040c4 commit a26a713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
let
1010
inherit (lib) optionalAttrs versionAtLeast;
1111
inherit (pkgs) system;
12-
inherit (pkgs.hostPlatform) isLinux isDarwin isx86;
12+
inherit (pkgs.hostPlatform) isLinux;
1313
in
1414
rec {
1515
legacyPackages = {
@@ -65,7 +65,7 @@
6565
// optionalAttrs isLinux {
6666
folder-size-metrics = pkgs.callPackage ./folder-size-metrics { };
6767
}
68-
// optionalAttrs ((isLinux && isx86) || isDarwin) rec {
68+
// optionalAttrs (system == "x86_64-linux") rec {
6969
mcl = pkgs.callPackage ./mcl {
7070
buildDubPackage = inputs'.dlang-nix.legacyPackages.buildDubPackage.override {
7171
dCompiler = inputs'.dlang-nix.packages."ldc-binary-1_38_0";

0 commit comments

Comments
 (0)