lol
nixpkgs doc hooks nodejs-install-executables.section.md
794 B · 29 lines
Markdown

nodejsInstallExecutables {#nodejs-install-executables} #

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

Examples {#nodejs-install-executables-example} #

Variables controlling nodejsInstallExecutables {#nodejs-install-executables-variables} #

nodejsInstallExecutables Exclusive Variables {#nodejs-install-executables-exclusive-variables} #

makeWrapperArgs {#nodejs-install-executables-wrapper-args} #

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[@]}")
  '';
  #...
})