31 lines
463 B
Nix
Executable file
31 lines
463 B
Nix
Executable file
{
|
|
pkgs ?
|
|
import <nixpkgs> {
|
|
config = {
|
|
allowUnfree = true;
|
|
cudaSupport = true;
|
|
};
|
|
},
|
|
}:
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
nodejs
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
nodePackages.pnpm
|
|
yarn
|
|
];
|
|
|
|
packages = with pkgs; [
|
|
vscode-js-debug
|
|
prettierd
|
|
nodePackages.prettier
|
|
];
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
shellHook = ''
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NIX_LD_LIBRARY_PATH;
|
|
'';
|
|
}
|