Loading pkgs/build-support/node/fetch-pnpm-deps/pnpm-config-hook.sh +6 −7 Original line number Diff line number Diff line Loading @@ -17,6 +17,12 @@ pnpmConfigHook() { exit 1 fi # If the packageManager field in package.json is set to a different pnpm version than what is in nixpkgs, # any pnpm command would fail in that directory, the following disables this pushd $HOME pnpm config set manage-package-manager-versions false popd echo "Found 'pnpm' with version '$(pnpm --version)'" fetcherVersion=$(cat "${pnpmDeps}/.fetcher-version" || echo 1) Loading @@ -37,13 +43,6 @@ pnpmConfigHook() { chmod -R +w "$STORE_PATH" # If the packageManager field in package.json is set to a different pnpm version than what is in nixpkgs, # any pnpm command would fail in that directory, the following disables this pushd $HOME pnpm config set manage-package-manager-versions false popd pnpm config set store-dir "$STORE_PATH" # Prevent hard linking on file systems without clone support. Loading Loading
pkgs/build-support/node/fetch-pnpm-deps/pnpm-config-hook.sh +6 −7 Original line number Diff line number Diff line Loading @@ -17,6 +17,12 @@ pnpmConfigHook() { exit 1 fi # If the packageManager field in package.json is set to a different pnpm version than what is in nixpkgs, # any pnpm command would fail in that directory, the following disables this pushd $HOME pnpm config set manage-package-manager-versions false popd echo "Found 'pnpm' with version '$(pnpm --version)'" fetcherVersion=$(cat "${pnpmDeps}/.fetcher-version" || echo 1) Loading @@ -37,13 +43,6 @@ pnpmConfigHook() { chmod -R +w "$STORE_PATH" # If the packageManager field in package.json is set to a different pnpm version than what is in nixpkgs, # any pnpm command would fail in that directory, the following disables this pushd $HOME pnpm config set manage-package-manager-versions false popd pnpm config set store-dir "$STORE_PATH" # Prevent hard linking on file systems without clone support. Loading