nixpkgs/pkgs/by-name/no/nodejsInstallExecutables/package.nix
2026-05-25 13:48:20 +02:00

21 lines
342 B
Nix

{
lib,
makeSetupHook,
installShellFiles,
makeWrapper,
nodejs,
jq,
}:
makeSetupHook {
name = "nodejs-install-executables";
propagatedBuildInputs = [
installShellFiles
makeWrapper
];
substitutions = {
hostNode = "${nodejs}/bin/node";
jq = "${jq}/bin/jq";
};
meta.license = lib.licenses.mit;
} ./hook.sh