Skip to content

nixpkgs

nodejsInstallExecutables {#nodejs-install-executables}

Nixpkgs

nodejsInstallExecutables {#nodejs-install-executables}

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