mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(flake.nix): stop forcing musl biome binary in dev shell (#25815)
The nix dev shell was forcing BIOME_BINARY to the musl package, but pnpm install on glibc hosts only installs the glibc biome package by default. That caused pnpm exec biome to fail in nix-shell even though the default biome binary worked when BIOME_BINARY was unset.
This commit is contained in:
@@ -295,14 +295,6 @@
|
||||
lib.optionalDrvAttr stdenv.isLinux "${glibcLocales}/lib/locale/locale-archive";
|
||||
|
||||
NODE_OPTIONS = "--max-old-space-size=8192";
|
||||
BIOME_BINARY =
|
||||
if pkgs.stdenv.isLinux then
|
||||
if pkgs.stdenv.hostPlatform.isAarch64 then
|
||||
"@biomejs/cli-linux-arm64-musl/biome"
|
||||
else
|
||||
"@biomejs/cli-linux-x64-musl/biome"
|
||||
else
|
||||
"";
|
||||
GOPRIVATE = "coder.com,cdr.dev,go.coder.com,github.com/cdr,github.com/coder";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user