| 3 Jan 2024 |
Lily Foster | * and here's where those two get defined: https://github.com/NixOS/nixpkgs/blob/d120d3076257ce88d0c35e61b729dcb55c88c642/pkgs/build-support/node/build-npm-package/hooks/default.nix#L17-L18 | 13:38:56 |
Lily Foster | if you define them similarly it should work | 13:39:03 |
@janne.hess:helsinki-systems.de | so this?
export NIX_NODEJS_BUILDNPMPACKAGE=1 export npm_config_node_gyp="${nodejs}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js";
| 13:40:38 |
Lily Foster | not the buildNpmpackage part | 13:40:51 |
Lily Foster | probably | 13:40:54 |
Lily Foster | it's not actually using npm, right? | 13:41:07 |
@janne.hess:helsinki-systems.de | I hope not | 13:41:22 |
Lily Foster | and you do need nodedir too | 13:41:31 |
@janne.hess:helsinki-systems.de | I had another package recently that needed yarn, npm and node | 13:41:34 |
Lily Foster | In reply to @janne.hess:helsinki-systems.de I hope not (that var just activates a sleeper agent we installed in npm to fix some of its broken behavior and inject vars when their fetcher lib re-execs the entirety of npm for git deps........) | 13:42:17 |
Lily Foster | In reply to @lily:lily.flowers (that var just activates a sleeper agent we installed in npm to fix some of its broken behavior and inject vars when their fetcher lib re-execs the entirety of npm for git deps........) (their coherence model for the moving parts of npm is utterly hecked) | 13:42:51 |
@janne.hess:helsinki-systems.de | TIL about srcOnly | 13:44:27 |