From c5435f8253de8a1cc347b653500a0faecdfde76c Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 30 Jun 2024 10:02:16 -0500 Subject: [PATCH] bun: fix x86_64-darwin hydra Hydra uses rosetta2 for compilation which doesn't support AVX2. Default source for x86 darwin to non AVX2 support. Users can override source if they really want AVX2. --- pkgs/development/web/bun/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/bun/default.nix b/pkgs/development/web/bun/default.nix index 0bbaf69a7315..6f2831b68d8d 100644 --- a/pkgs/development/web/bun/default.nix +++ b/pkgs/development/web/bun/default.nix @@ -58,8 +58,8 @@ stdenvNoCC.mkDerivation rec { hash = "sha256-eytY45LcgeI9m9amHd8hfE7Lz7ET7p19h37Bi4yUHBM="; }; "x86_64-darwin" = fetchurl { - url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; - hash = "sha256-bF/yg7C2tsdPjotC4DKISZRWEUUmUha22tWJynearEM="; + url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64-baseline.zip"; + hash = "sha256-SKD/nJSDCPEQPekbkHkEew0mw2E55/L2hPjlz3fu3J8="; }; "x86_64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip";