Skip to content

Commit ce8e08a

Browse files
committed
The shell.nix order is creating tmp directory, then setting PATH, then npm config, then npm install
1 parent 7e1b524 commit ce8e08a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

shell.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ in
1919
set +o allexport
2020
set -v
2121
22-
# Enables npm link
23-
export npm_config_prefix=~/.npm
22+
mkdir --parents "$(pwd)/tmp"
2423
24+
# Built executables and NPM executables
2525
export PATH="$(pwd)/dist/bin:$(npm bin):$PATH"
2626
2727
# pkg is installed in package.json
@@ -32,8 +32,10 @@ in
3232
]
3333
}:$PATH"
3434
35+
# Enables npm link
36+
export npm_config_prefix=~/.npm
37+
3538
npm install
36-
mkdir --parents "$(pwd)/tmp"
3739
3840
set +v
3941
'';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy