From 9a8355af8d6f0ef3228c9ce08dfdad75d027bd73 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Fri, 28 Jun 2024 12:35:08 -0700 Subject: [PATCH] Revert "[nodejs,angular] stop adding local node_modules/.bin to path" --- pkgs/modules/angular/default.nix | 2 +- pkgs/modules/nodejs/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/modules/angular/default.nix b/pkgs/modules/angular/default.nix index a981d923..d1c80741 100644 --- a/pkgs/modules/angular/default.nix +++ b/pkgs/modules/angular/default.nix @@ -35,7 +35,7 @@ in env = { XDG_CONFIG_HOME = "$REPL_HOME/.config"; npm_config_prefix = "$REPL_HOME/.config/npm/node_global"; - PATH = "$XDG_CONFIG_HOME/npm/node_global/bin"; + PATH = "$XDG_CONFIG_HOME/npm/node_global/bin:$REPL_HOME/node_modules/.bin"; }; dev.runners.dev-runner = { diff --git a/pkgs/modules/nodejs/default.nix b/pkgs/modules/nodejs/default.nix index 713e4907..2b9299d4 100644 --- a/pkgs/modules/nodejs/default.nix +++ b/pkgs/modules/nodejs/default.nix @@ -189,7 +189,7 @@ in env = { XDG_CONFIG_HOME = "$REPL_HOME/.config"; npm_config_prefix = "$REPL_HOME/.config/npm/node_global"; - PATH = "${npx-wrapper}/bin:$XDG_CONFIG_HOME/npm/node_global/bin"; + PATH = "${npx-wrapper}/bin:$XDG_CONFIG_HOME/npm/node_global/bin:$REPL_HOME/node_modules/.bin"; }; };