nixin-web/shell.nix

15 lines
291 B
Nix
Raw Permalink Normal View History

2024-09-30 12:06:14 +00:00
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "nixin";
buildInputs = [
nodejs # for vitepress
nixos-generators # for building images
];
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
npm install
npm run
2024-09-30 12:06:14 +00:00
'';
}