!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

206 Members
59 Servers

Load older messages


SenderMessageTime
4 Aug 2023
@gdamjan:spodeli.orggdamjansome more input …19:56:29
@gdamjan:spodeli.orggdamjan the bin/node: ….46.0-dev/include", "/nix/store/l0vnx3ik63qrlj086gq06fjmalsi5dpy-openssl-3.0.9-dev/include", "/n… that why-depends reports seems to referring to:
/nix/store/3sj7ka634hlvdmywr9nndffvk9hiw247-libuv-1.46.0-dev
19:57:17
@gdamjan:spodeli.orggdamjan

also running strings on ./result/bin/node there's this:

{ "target_defaults": {"cflags": [], "default_configuration": "Release", "defines": ["NODE_OPENSSL_CONF_NAME=nodejs_conf", "ICU_NO_USER_DATA_OVERRIDE"], "include_dirs": ["/nix/store/0rnx7rc87hwkbrhsys7mgwq4jw6pz7ma-zlib-1.2.13-dev/include", "/nix/store/3sj7ka634hlvdmywr9nndffvk9hiw247-libuv-1.46.0-dev/include", "/nix/store/l0vnx3ik63qrlj086gq06fjmalsi5dpy-openssl-3.0.9-dev/include", "/nix/store/db79xky20dvsvs5546ffpv5db70yjlxq-icu4c-73.2-dev/include"], "libraries": ["-L/nix/store/5p62fc7h9ij36fqsxlbq73mbwdhnmbkv-zlib-1.2.13/lib", "-lz", "-L/nix/store/c70parvipldqrfip3cmdq6xdxrpk2scd-libuv-1.46.0/lib", "-luv", "-L/nix/store/xal21vd4d9nfwjkcvw0fyq6ivsbxg1pz-openssl-3.0.9/lib", "-lcrypto", "-lssl", "-L/nix/store/6i4vwgsiqp8jd8pb8cgf99sx8081rmsj-icu4c-73.2/lib", "-licui18n", "-licuuc", "-licudata"]},
19:57:57
@gdamjan:spodeli.orggdamjanI don't think that's something easy to fix :/20:00:53
@lily:lily.flowersLily FosterOf course they embed that in the binary...20:52:36
@lily:lily.flowersLily Foster I mean if string never is actually needed if you can't build against slim anyway or something, you could use nuke-references (or whatever it is called) on it for those dev inputs... 20:53:35
@lily:lily.flowersLily Foster(Apologies that I only mostly have questionable ideas)20:54:00
@gdamjan:spodeli.orggdamjan I can't even say if the idea is questionable :)21:39:52
5 Aug 2023
@gdamjan:spodeli.orggdamjanis there documentation on nuke-references?16:39:48
@lily:lily.flowersLily FosterI hope there is in the nixpkgs manual. It might be nuke-references-to. I may be misremembering the name16:40:17
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
is there documentation on nuke-references?
Looks like it's nukeReferences is the derivation and it's nuke-refs [-e ref-to-keep]* [files-to-remove-all-non-kept-references-from]
16:46:33
@lily:lily.flowersLily Foster You also just do your own sed expression too tbh. It's a fairly simple script: https://github.com/NixOS/nixpkgs/blob/17544589b02100b9fa5c49fca82dfe489a060053/pkgs/build-support/nuke-references/nuke-refs.sh 16:48:48
@lily:lily.flowersLily FosterIf you'd rather the reference removal be inclusive rather than exclusive16:49:05
@lily:lily.flowersLily FosterFor example16:49:09
8 Aug 2023
@me:indeednotjames.com@me:indeednotjames.com are we aware of this?
https://nodejs.org/en/blog/vulnerability/august-2023-security-releases
14:09:12
@lily:lily.flowersLily Foster
In reply to @me:indeednotjames.com
are we aware of this?
https://nodejs.org/en/blog/vulnerability/august-2023-security-releases
Yes I'm hoping marsam opens the PR when the release becomes public
14:19:39
@me:indeednotjames.com@me:indeednotjames.comalright, thanks! :)14:20:36
@lily:lily.flowersLily Foster (Otherwise I might do it. Nodejs doesn't take too obscenely long on the aarch64 community builder, whereas it takes like an hour on my laptop) 14:22:20
@gdesforges:matrix.org@gdesforges:matrix.org Lily Foster: any luck looking at this? https://github.com/NixOS/nixpkgs/pull/244504 16:51:48
@gdesforges:matrix.org@gdesforges:matrix.orgthe offlineCache error is a mystery to me16:52:20
@gdesforges:matrix.org@gdesforges:matrix.orgI'm wondering tho if it's not yet again an error with the damn resolutions field from packages.json16:53:10
@gdesforges:matrix.org@gdesforges:matrix.org * I'm wondering tho if it's not yet again an error with the damn resolutions field from packages.json 16:53:22
@countoren:matrix.orgcountoren joined the room.18:42:33
@countoren:matrix.orgcountorenHi all, I am trying to build a npm project that depends on fortawesome font that are private the project has .npmrc with the authtoken, how can i make it work with either node2nix or buildNpmPackage?18:43:38
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
Hi all, I am trying to build a npm project that depends on fortawesome font that are private the project has .npmrc with the authtoken, how can i make it work with either node2nix or buildNpmPackage?
Hmmmm, can the auth token be set via environment variables?
22:16:56
@lily:lily.flowersLily FosterI would say just allow that var impurely into the sandbox22:17:14
@lily:lily.flowersLily FosterYou can configure that in the nix daemon22:17:20
@lily:lily.flowersLily Foster (also it will only work with buildNpmPackage -- node2nix does not inspect those tokens afaik) 22:17:44
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
Hi all, I am trying to build a npm project that depends on fortawesome font that are private the project has .npmrc with the authtoken, how can i make it work with either node2nix or buildNpmPackage?
Oh actually it won't work with buildNpmPackage either... Can you open an issue on nixpkgs and @ me on it? (@lilyinstarlight)
22:18:24
@lily:lily.flowersLily FosterI'll add it to our backlog of features22:18:28

Show newer messages


Back to Room ListRoom Version: 6