Skip to content

Commit 48483bf

Browse files
authored
Update flake.nix
1 parent e2d37ad commit 48483bf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

flake.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@
3333
echo "Welcome to the Emacs development shell with Eask!"
3434
3535
# Install if `node_modules` is missing
36-
if [ ! -d node_modules ]; then
36+
if ! command -v <the_command> >/dev/null 2>&1
3737
npm install --include=dev
38+
export PATH="$PATH:$PWD/bin"
39+
eask --version
3840
fi
39-
40-
export PATH="$PATH:$PWD/bin"
41-
eask --version
4241
'';
4342
};
4443
}

0 commit comments

Comments
 (0)