Files
nixpkgs/doc/hooks/nodejs-install-executables.section.md
2026-02-19 14:16:28 -05:00

794 B

nodejsInstallExecutables

Hook for wrapping Node.js executables. Primarily created for a multi-language environment.

Examples

Variables controlling nodejsInstallExecutables

nodejsInstallExecutables Exclusive Variables

makeWrapperArgs

Flags to pass to the call to makeWrapper. To avoid double-wrapping, this flag can also be accessed in Bash.

stdenv.mkDerivation (finalAttrs: {
  #...
  dontWrapGApps = true;

  postInstall = ''
    makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';
  #...
})