Skip to content

Commit 262859d

Browse files
committed
fix(mcl): Only build mcl on x86_64-linux
1 parent 88c5b8e commit 262859d

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 = {
@@ -66,7 +66,7 @@
6666
// optionalAttrs isLinux {
6767
folder-size-metrics = pkgs.callPackage ./folder-size-metrics { };
6868
}
69-
// optionalAttrs ((isLinux && isx86) || isDarwin) rec {
69+
// optionalAttrs (system == "x86_64-linux") rec {
7070
mcl = pkgs.callPackage ./mcl {
7171
buildDubPackage = inputs'.dlang-nix.legacyPackages.buildDubPackage.override {
7272
dCompiler = inputs'.dlang-nix.packages."ldc-binary-1_38_0";

0 commit comments

Comments
 (0)