Skip to content

Commit 8c7b681

Browse files
committed
wip
1 parent 60b756f commit 8c7b681

File tree

2 files changed

+22
-26
lines changed

2 files changed

+22
-26
lines changed

packages/mcl/default.nix

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,29 @@
66
fetchgit,
77
...
88
}: let
9-
deps = with pkgs; [
10-
cachix
11-
git
12-
nix
13-
nom
14-
nix-eval-jobs
15-
curl
16-
gawk
17-
dmidecode
18-
jc
19-
edid-decode
20-
coreutils-full
21-
util-linux
22-
xorg.xrandr
23-
glxinfo
24-
nixos-install-tools
25-
perl
26-
systemd
27-
alejandra
28-
openssh
29-
];
9+
inherit (pkgs.hostPlatform) isLinux isx86;
10+
deps = with pkgs;
11+
[
12+
cachix
13+
git
14+
nix
15+
nom
16+
nix-eval-jobs
17+
curl
18+
gawk
19+
jc
20+
edid-decode
21+
coreutils-full
22+
util-linux
23+
xorg.xrandr
24+
perl
25+
alejandra
26+
openssh
27+
]
28+
++ lib.optionals (isLinux && isx86) [dmidecode glxinfo nixos-install-tools systemd];
3029
excludedTests = (
3130
lib.concatStringsSep "|" [
32-
"(nix\\.(build|run))"
31+
"(nix\\.(build|run|eval))"
3332
"fetchJson|(coda\.)"
3433
]
3534
);
@@ -52,10 +51,9 @@ in
5251
wrapProgram $out/bin/${pname} --set PATH "${lib.makeBinPath deps}"
5352
'';
5453

55-
dubBuildFlags = ["--compiler=dmd" "-b" "debug"];
54+
dubBuildFlags = ["-b" "debug"];
5655

5756
dubTestFlags = [
58-
"--compiler=dmd"
5957
"--"
6058
"-e"
6159
excludedTests

packages/mcl/src/src/mcl/commands/host_info.d

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ Info getInfo()
178178
return info;
179179
}
180180

181-
182-
183181
struct Info
184182
{
185183
SoftwareInfo softwareInfo;

0 commit comments

Comments
 (0)