Skip to content

Commit 261a694

Browse files
committed
wip
1 parent 7b1bd0d commit 261a694

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/default.nix

Lines changed: 4 additions & 3 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;
12+
inherit (pkgs.hostPlatform) isLinux isDarwin isx86;
1313
in
1414
rec {
1515
legacyPackages = {
@@ -64,13 +64,14 @@
6464
// optionalAttrs isLinux {
6565
folder-size-metrics = pkgs.callPackage ./folder-size-metrics { };
6666
}
67-
// optionalAttrs (system == "x86_64-linux") {
67+
// optionalAttrs ((isLinux && isx86) || isDarwin) rec {
6868
mcl = pkgs.callPackage ./mcl {
6969
buildDubPackage = inputs'.dlang-nix.legacyPackages.buildDubPackage.override {
70-
ldc = inputs'.dlang-nix.packages."ldc-binary-1_34_0";
70+
dCompiler = inputs'.dlang-nix.packages."ldc-binary-1_38_0";
7171
};
7272
inherit (legacyPackages.inputs.nixpkgs) cachix nix nix-eval-jobs;
7373
};
7474
};
7575
};
7676
}
77+

0 commit comments

Comments
 (0)