Skip to content

Commit

Permalink
Disable aarch64-linux because Hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Sep 5, 2023
1 parent 9f96dfb commit 78140d8
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@
flake-utils.follows = "haskell-nix/flake-utils";
};

outputs = { self, nixpkgs, flake-utils, haskell-nix, ... }:
flake-utils.lib.eachDefaultSystem (system:
outputs = { nixpkgs, flake-utils, haskell-nix, ... }:
let
systems = [
"x86_64-linux"
"x86_64-darwin"
# TODO switch back on when ci.iog.io has builders for aarch64-linux
# "aarch64-linux"
"aarch64-darwin"
];
in
flake-utils.lib.eachSystem systems (system:
let
pkgs = import nixpkgs {
inherit system;
Expand All @@ -39,9 +48,10 @@
# Wrap the foliage executable with the needed dependencies in PATH.
# See #71.
wrapExe = drv:
pkgs.runCommand "foliage" {
nativeBuildInputs = [ pkgs.makeWrapper ];
} ''
pkgs.runCommand "foliage"
{
nativeBuildInputs = [ pkgs.makeWrapper ];
} ''
mkdir -p $out/bin
makeWrapper ${drv}/bin/foliage $out/bin/foliage \
--prefix PATH : ${with pkgs; lib.makeBinPath [ curl patch ]}:$out/bin
Expand Down

0 comments on commit 78140d8

Please sign in to comment.