Skip to content

Commit

Permalink
grafana-alloy: fix build for darwin
Browse files Browse the repository at this point in the history
set proxyVendor = true, and re-enable lib.platforms.unix.
  • Loading branch information
flokli committed Jun 6, 2024
1 parent 700bf79 commit 0c88d12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/by-name/gr/grafana-alloy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ buildGoModule rec {
hash = "sha256-G+lLxdUnE07QXt2wBcS6K3DVHIS35aKCh0TZCzpNgBE=";
};

vendorHash = "sha256-Dj3K0ynPPl350tNYClZDHNNan54N1iGfnryH60nO1bg=";
proxyVendor = true;
vendorHash = "sha256-eF2BvfxH7pKtBp/rTYxCxwSsuKRJlcBDkiJGPDsiNOE=";

nativeBuildInputs = [ fixup-yarn-lock yarn nodejs ];

Expand Down Expand Up @@ -110,6 +111,6 @@ buildGoModule rec {
license = licenses.asl20;
homepage = "https://grafana.com/oss/alloy";
maintainers = with maintainers; [ flokli emilylange ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
platforms = lib.platforms.unix;
};
}

0 comments on commit 0c88d12

Please sign in to comment.