···428428429429In case you are patching `package.json` or `pnpm-lock.yaml`, make sure to pass `finalAttrs.patches` to the function as well (i.e. `inherit (finalAttrs) patches`.430430431431-`pnpm.configHook` supports adding additional `pnpm install` flags via `pnpmInstallFlags` which can be set to a Nix string array.431431+`pnpm.configHook` supports adding additional `pnpm install` flags via `pnpmInstallFlags` which can be set to a Nix string array:432432+433433+```nix434434+{435435+ pnpm,436436+}:437437+438438+stdenv.mkDerivation (finalAttrs: {439439+ pname = "foo";440440+ version = "0-unstable-1980-01-01";441441+442442+ src = ...;443443+444444+ pnpmInstallFlags = [ "--shamefully-hoist" ];445445+446446+ pnpmDeps = pnpm.fetchDeps {447447+ inherit (finalAttrs) pnpmInstallFlags;448448+ };449449+})450450+```432451433452#### Dealing with `sourceRoot` {#javascript-pnpm-sourceRoot}434453···478459479460#### PNPM Workspaces {#javascript-pnpm-workspaces}480461481481-If you need to use a PNPM workspace for your project, then set `pnpmWorkspace = "<workspace project name>"` in your `pnpm.fetchDeps` call,482482-which will make PNPM only install dependencies for that workspace package.462462+If you need to use a PNPM workspace for your project, then set `pnpmWorkspaces = [ "<workspace project name 1>" "<workspace project name 2>" ]`, etc, in your `pnpm.fetchDeps` call,463463+which will make PNPM only install dependencies for those workspace packages.483464484465For example:485466486467```nix487468...488488-pnpmWorkspace = "@astrojs/language-server";469469+pnpmWorkspaces = [ "@astrojs/language-server" ];489470pnpmDeps = pnpm.fetchDeps {490490- inherit (finalAttrs) pnpmWorkspace;471471+ inherit (finalAttrs) pnpmWorkspaces;491472 ...492473}493474```···495476The above would make `pnpm.fetchDeps` call only install dependencies for the `@astrojs/language-server` workspace package.496477Note that you do not need to set `sourceRoot` to make this work.497478498498-Usually in such cases, you'd want to use `pnpm --filter=$pnpmWorkspace build` to build your project, as `npmHooks.npmBuildHook` probably won't work. A `buildPhase` based on the following example will probably fit most workspace projects:479479+Usually in such cases, you'd want to use `pnpm --filter=<pnpm workspace name> build` to build your project, as `npmHooks.npmBuildHook` probably won't work. A `buildPhase` based on the following example will probably fit most workspace projects:499480500481```nix501482buildPhase = ''
+4-2
maintainers/scripts/rebuild-amount.sh
···8181 # could eat too much memory for a standard 4GiB machine.8282 local -a list8383 for i in 1 2; do8484- local l="$($MKTEMP)"8484+ local l8585+ l="$($MKTEMP)"8586 list[$i]="$l"8687 toRemove+=("$l")87888888- local expr="$($MKTEMP)"8989+ local expr9090+ expr="$($MKTEMP)"8991 toRemove+=("$expr")9092 nixexpr "${!i}" > "$expr"9193
···12731273 yacc = throw "'yacc' has been renamed to/replaced by 'bison'"; # Converted to throw 2024-10-1712741274 yafaray-core = libyafaray; # Added 2022-09-2312751275 yi = throw "'yi' has been removed, as it was broken and unmaintained"; # added 2024-05-0912761276+ youtrack_2022_3 = throw "'youtrack_2022_3' has been removed as it was deprecated. Please update to the 'youtrack' package."; # Added 2024-10-1712761277 yrd = throw "'yrd' has been removed, as it was broken and unmaintained"; # added 2024-05-271277127812781279 ### Z ###