diff --git a/nix/hashes.json b/nix/hashes.json index 93c0017ba805..3c38aae59289 100644 --- a/nix/hashes.json +++ b/nix/hashes.json @@ -1,6 +1,6 @@ { "nodeModules": { - "x86_64-linux": "sha256-+8y80I7VLJUQccgqfM+eCHKcBuEBK/3uSZj3rPFswJs=", + "x86_64-linux": "sha256-WU71OJbvZSJqHXiU8xcEw34SQWOs7z/IyZn0tGYJ4yQ=", "aarch64-linux": "sha256-2zC/QoS1hteGE14dGgp0Iv/wet5ZhmWCYBzn/SjyMA0=", "aarch64-darwin": "sha256-wp7gmpBJfpKCxFAOCqjbhVwB7oUNcn/u4XiipydnEy8=" } diff --git a/nix/node_modules.nix b/nix/node_modules.nix index 00a6d1a149ca..9c1a32f4fea0 100644 --- a/nix/node_modules.nix +++ b/nix/node_modules.nix @@ -49,10 +49,11 @@ stdenvNoCC.mkDerivation { buildPhase = '' runHook preBuild export BUN_INSTALL_CACHE_DIR=$(mktemp -d) + # Include root dependencies so Bun resolves the same peer contexts as a normal install. bun install \ --cpu="${bunCpu}" \ --os="${bunOs}" \ - --filter '!./' \ + --filter './' \ --filter './packages/cli' \ --filter './packages/desktop' \ --filter './packages/app' \