| 18 Sep 2025 |
Marie | thats an issue which has been known for years now and npm doesn't consider it a bug | 09:41:51 |
mmkaram | exciting. | 09:42:07 |
mmkaram | would maybe going to an older revision help? | 09:42:12 |
mmkaram | where the lockfile isn't broken | 09:42:16 |
Marie | probably not | 09:42:25 |
Marie | you need to clone the repo, delete package-lock.json and run npm install --package-lock-only | 09:42:56 |
Marie | and use that one in your nix package | 09:43:02 |
mmkaram | okay will get on it | 09:43:14 |
Marie | there should be examples of this in nixpkgs already | 09:43:20 |
mmkaram | examples of what? using a different lockfile? | 09:43:38 |
Marie | yes, providing your own lockfile | 09:43:47 |
mmkaram | ah okay, would this parameter help at all: fetchNpmDeps? | 09:44:25 |
Marie | https://github.com/NixOS/nixpkgs/blob/10a275e22017a6c9bf3a38dbdcf504daa36f51c7/pkgs/by-name/in/intelephense/package.nix#L19 | 09:44:37 |
Marie | no, buildNpmPackage already uses that | 09:44:58 |
mmkaram | ahhh okay | 09:44:59 |
mmkaram | should I put a comment or something explaing why I did that or is it implied | 09:45:11 |
mmkaram | * should I put a comment or something explaining why I did that or is it implied | 09:45:16 |
Marie | comment is a good idea | 09:45:33 |
mmkaram | thank you for your help so far Marie! | 09:45:53 |