Skip to content

Commit

Permalink
The shell.nix order is creating tmp directory, then setting PATH, the…
Browse files Browse the repository at this point in the history
…n npm config, then npm install
  • Loading branch information
CMCDragonkai committed May 10, 2022
1 parent 7e1b524 commit ce8e08a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,8 +32,10 @@ in
]
}:$PATH"
# Enables npm link
export npm_config_prefix=~/.npm
npm install
mkdir --parents "$(pwd)/tmp"
set +v
'';
Expand Down

0 comments on commit ce8e08a

Please sign in to comment.