diff --git a/shell.nix b/shell.nix index 3c5c628..49a28a6 100644 --- a/shell.nix +++ b/shell.nix @@ -19,9 +19,9 @@ in set +o allexport set -v - # Enables npm link - export npm_config_prefix=~/.npm + mkdir --parents "$(pwd)/tmp" + # Built executables and NPM executables export PATH="$(pwd)/dist/bin:$(npm bin):$PATH" # pkg is installed in package.json @@ -32,8 +32,10 @@ in ] }:$PATH" + # Enables npm link + export npm_config_prefix=~/.npm + npm install - mkdir --parents "$(pwd)/tmp" set +v '';