Loading pkgs/build-support/node/fetch-pnpm-deps/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ cacert, makeSetupHook, pnpm, writableTmpDirAsHomeHook, yq, zstd, }: Loading Loading @@ -198,6 +199,7 @@ in pnpmConfigHook = makeSetupHook { name = "pnpm-config-hook"; propagatedBuildInputs = [ writableTmpDirAsHomeHook zstd ]; substitutions = { Loading pkgs/build-support/node/fetch-pnpm-deps/pnpm-config-hook.sh +1 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ pnpmConfigHook() { echo "Configuring pnpm store" export HOME=$(mktemp -d) export STORE_PATH=$(mktemp -d) export npm_config_arch="@npmArch@" export npm_config_platform="@npmPlatform@" Loading @@ -41,7 +40,7 @@ pnpmConfigHook() { # 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 .. pushd $HOME pnpm config set manage-package-manager-versions false popd Loading Loading
pkgs/build-support/node/fetch-pnpm-deps/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ cacert, makeSetupHook, pnpm, writableTmpDirAsHomeHook, yq, zstd, }: Loading Loading @@ -198,6 +199,7 @@ in pnpmConfigHook = makeSetupHook { name = "pnpm-config-hook"; propagatedBuildInputs = [ writableTmpDirAsHomeHook zstd ]; substitutions = { Loading
pkgs/build-support/node/fetch-pnpm-deps/pnpm-config-hook.sh +1 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ pnpmConfigHook() { echo "Configuring pnpm store" export HOME=$(mktemp -d) export STORE_PATH=$(mktemp -d) export npm_config_arch="@npmArch@" export npm_config_platform="@npmPlatform@" Loading @@ -41,7 +40,7 @@ pnpmConfigHook() { # 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 .. pushd $HOME pnpm config set manage-package-manager-versions false popd Loading