chore(nix): make shellhook a lil prettier and add name

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

View file

@ -1,15 +1,15 @@
{pkgs ? import <nixpkgs> {}}:
with pkgs;
mkShell {
name = "nagai-website";
packages = [
bun
biome
];
shellHook = ''
mkdir -p .tmp
export TMPDIR=$(realpath ./.tmp)
export PATH="$PATH:$(realpath ./node_modules/.bin)"
export TMPDIR="$(realpath ./.tmp/)"
'';
}