move NODE_PATH to shellHook to fix direnv startup

This commit is contained in:
Bryton Hall 2022-08-13 01:06:30 -04:00
parent 2773817b56
commit 1a02818ca8

View file

@ -90,7 +90,9 @@
'')
];
# KUBECONFIG = "kubeconfig.json";
NODE_PATH = "${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules:$NODE_PATH";
shellHook = ''
export NODE_PATH="${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules:$NODE_PATH"
'';
};
formatter = pkgs.treefmt;