Skip to content

Commit

Permalink
Merge pull request #1574 from bobvanderlinden/javascript-bin
Browse files Browse the repository at this point in the history
javascript: add node_modules/.bin to PATH
  • Loading branch information
domenkozar authored Nov 4, 2024
2 parents 7250dbb + 9981784 commit 7cfc04e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/languages/javascript.nix
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,11 @@ in
'') ++
(lib.optional cfg.bun.install.enable ''
source ${initBunScript}
'')
'') ++ [
''
export PATH="${nodeModulesPath}/.bin:$PATH"
''
]
);
};
}

0 comments on commit 7cfc04e

Please sign in to comment.