fix(nix): biome doesn't run from node_modules bin

This commit is contained in:
h4rl 2025-04-02 03:47:46 +02:00
parent 802512ae29
commit f66c28b905
Signed by untrusted user who does not match committer: h4rl
GPG key ID: B69EFF282C4538F4

View file

@ -3,12 +3,13 @@ with pkgs;
mkShell {
packages = [
bun
biome
];
shellHook = ''
mkdir -p .tmp
export TMPDIR=$(realpath ./.tmp)
export PATH=$PATH:(realpath ./node_modules/.bin)
export PATH="$PATH:$(realpath ./node_modules/.bin)"
'';
}