!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
60 Servers

Load older messages


SenderMessageTime
10 Aug 2023
@lily:lily.flowersLily Foster
In reply to @robert:funklause.de
Oh, across versions of pnpm-lock-export
Yeah
17:16:56
@lily:lily.flowersLily Foster* In reply to @robert:funklause.de What does "reproducible across versions" mean? Like if the pnpm-lock-export output is one way in version 1.0 but then later if the package is updated to 2.0, the output could be subtly different (ask me how I've become paranoid about this 🙃)17:17:08
@robert:funklause.dedotlambda That could be remediated by using different attributes in all-packages.nix for different versions 17:18:23
@lily:lily.flowersLily FosterIt could maybe. I've seen it change across minor versions for, e.g., tomlq though, so unless the project specifically either allows specifying a reproducible format or promises output reproducibility I've become distrustful of it :)17:20:14
@lily:lily.flowersLily FosterI'd rather we just made our own pnpm-lockfile-equivalent because then we would be in control of the output reproducibility17:20:38
@lily:lily.flowersLily Foster(And not just because npm still does Bad Stuff™️ with v1 lockfiles sometimes)17:21:04
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
Lily Foster: Thank you for your help
Okay apparently it was RUST_LOG not RUSTLOG, but don't worry about grabbing the log. I fiddled with it locally and found the problem. Can you try updating your flake input from that branch, invalidate the fetcher hash, and try again?
17:49:34
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
Lily Foster: Thank you for your help
* Okay apparently it was RUST_LOG not RUSTLOG, but don't worry about grabbing the log anymore. I fiddled with it locally and found the problem. Can you try updating your flake input from that branch, invalidate the fetcher hash, and try again?
17:49:44
@lily:lily.flowersLily Foster* oren: Okay apparently it was RUST_LOG not RUSTLOG, but don't worry about grabbing the log anymore. I fiddled with it locally and found the problem. Can you try updating your flake input from that branch, invalidate the fetcher hash, and try again?18:15:24
@countoren:matrix.orgcountorensure18:43:16
@robert:funklause.dedotlambda
In reply to @lily:lily.flowers
I'd rather we just made our own pnpm-lockfile-equivalent because then we would be in control of the output reproducibility
We can fork the project cause it looks kinda dead anyway.
18:44:59
@lily:lily.flowersLily Foster
In reply to @robert:funklause.de
We can fork the project cause it looks kinda dead anyway.
I haven't looked into the code enough, but if it's not cancer, sure if you want go ahead
18:45:56
@countoren:matrix.orgcountoren
In reply to @lily:lily.flowers
oren: Okay apparently it was
RUST_LOG not RUSTLOG, but don't worry about grabbing the log anymore. I fiddled with it locally and found the problem. Can you try updating your flake input from that branch, invalidate the fetcher hash, and try again?
same branch right?
18:46:14
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
same branch right?
Yep!
18:47:25
@countoren:matrix.orgcountorenI think we downloaded them, I am getting missing build script tho18:49:49
@lily:lily.flowersLily Foster Does the package have a build script in package.json? 18:50:17
@countoren:matrix.orgcountorenthe package.json I have here is just deps18:50:18
@countoren:matrix.orgcountorenno18:50:22
@lily:lily.flowersLily FosterOr is it possibly called something else?18:50:28
@countoren:matrix.orgcountorenwas using "outside" npx command18:50:32
@countoren:matrix.orgcountorennpx ng build18:50:41
@countoren:matrix.orgcountorendoes buildNpm give you ability to define it in nix?18:51:06
@lily:lily.flowersLily Foster Ah, if it doesn't need to be built then you can just do dontNpmBuild. But if you're needing to run a command to build, it might not be a bad idea to add it to the package.json 18:51:16
@lily:lily.flowersLily Foster* Ah, if it doesn't need to be built then you can just do `dontNpmBuild = true`. But if you're needing to run a command to build, it might not be a bad idea to add it to the package.json18:51:28
@countoren:matrix.orgcountorenI think I will just add it18:51:41
@lily:lily.flowersLily Foster* Ah, if it doesn't need to be built then you can just do `dontNpmBuild = true`. But if you're needing to run a command to build, it might not be a bad idea to add it to the package.json18:51:43
@countoren:matrix.orgcountorenshould it be with npx?18:51:46
@lily:lily.flowersLily FosterIt should probably be in devDependencies and then run without npx18:52:16
@countoren:matrix.orgcountorenng is in dev18:52:47
@lily:lily.flowersLily FosterThen yeah no npx needed18:52:59

Show newer messages


Back to Room ListRoom Version: 6