Skip to content

Commit ea68345

Browse files
committed
Disable aarch64-linux because Hydra
1 parent e6de3b2 commit ea68345

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

flake.nix

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,17 @@
1111
flake-utils.follows = "haskell-nix/flake-utils";
1212
};
1313

14-
outputs = { self, nixpkgs, flake-utils, haskell-nix, ... }:
15-
flake-utils.lib.eachDefaultSystem (system:
14+
outputs = { nixpkgs, flake-utils, haskell-nix, ... }:
15+
let
16+
systems = [
17+
"x86_64-linux"
18+
"x86_64-darwin"
19+
# TODO switch back on when ci.iog.io has builders for aarch64-linux
20+
# "aarch64-linux"
21+
"aarch64-darwin"
22+
];
23+
in
24+
flake-utils.lib.eachSystem systems (system:
1625
let
1726
pkgs = import nixpkgs {
1827
inherit system;
@@ -39,9 +48,10 @@
3948
# Wrap the foliage executable with the needed dependencies in PATH.
4049
# See #71.
4150
wrapExe = drv:
42-
pkgs.runCommand "foliage" {
43-
nativeBuildInputs = [ pkgs.makeWrapper ];
44-
} ''
51+
pkgs.runCommand "foliage"
52+
{
53+
nativeBuildInputs = [ pkgs.makeWrapper ];
54+
} ''
4555
mkdir -p $out/bin
4656
makeWrapper ${drv}/bin/foliage $out/bin/foliage \
4757
--prefix PATH : ${with pkgs; lib.makeBinPath [ curl patch ]}:$out/bin

0 commit comments

Comments
 (0)