fix(nix): biome doesn't run from node_modules bin
This commit is contained in:
parent
802512ae29
commit
f66c28b905
1 changed files with 2 additions and 1 deletions
|
|
@ -3,12 +3,13 @@ with pkgs;
|
||||||
mkShell {
|
mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
bun
|
bun
|
||||||
|
biome
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
mkdir -p .tmp
|
mkdir -p .tmp
|
||||||
|
|
||||||
export TMPDIR=$(realpath ./.tmp)
|
export TMPDIR=$(realpath ./.tmp)
|
||||||
export PATH=$PATH:(realpath ./node_modules/.bin)
|
export PATH="$PATH:$(realpath ./node_modules/.bin)"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue