nixpkgs/pkgs/build-support/node/build-npm-package
sternenseemann bd374243c0 npmHooks: use adjacent packages, not buildPackages
Hooks are essentially implemented as special shell packages that run on
their respective host platform. When they are used, they appear as
nativeBuildInputs (as they need to be executed as part of the build of a
package using them) so are taken from buildPackages relative to the
derivation using them.

Since the override in buildNpmPackage nullifies splicing, we take
npmHooks from buildPackages manually.

Fixes pkgsCross.ghcjs.buildPackages.emscripten and thus
pkgsCross.ghcjs.haskellPackages.ghc.
2023-09-09 17:55:37 +02:00
..
hooks npmHooks: use adjacent packages, not buildPackages 2023-09-09 17:55:37 +02:00
default.nix npmHooks: use adjacent packages, not buildPackages 2023-09-09 17:55:37 +02:00