| 4 Aug 2023 |
gdamjan | some more input … | 19:56:29 |
gdamjan | 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 | 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 | I don't think that's something easy to fix :/ | 20:00:53 |
Lily Foster | Of course they embed that in the binary... | 20:52:36 |
Lily 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 Foster | (Apologies that I only mostly have questionable ideas) | 20:54:00 |
gdamjan | I can't even say if the idea is questionable :) | 21:39:52 |
| 5 Aug 2023 |
gdamjan | is there documentation on nuke-references? | 16:39:48 |
Lily Foster | I hope there is in the nixpkgs manual. It might be nuke-references-to. I may be misremembering the name | 16:40:17 |
Lily 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 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 Foster | If you'd rather the reference removal be inclusive rather than exclusive | 16:49:05 |
Lily Foster | For example | 16:49:09 |
| 8 Aug 2023 |
@me:indeednotjames.com | are we aware of this? https://nodejs.org/en/blog/vulnerability/august-2023-security-releases | 14:09:12 |
Lily 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 | alright, thanks! :) | 14:20:36 |
Lily 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 | Lily Foster: any luck looking at this? https://github.com/NixOS/nixpkgs/pull/244504 | 16:51:48 |
@gdesforges:matrix.org | the offlineCache error is a mystery to me | 16:52:20 |
@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:10 |
@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 joined the room. | 18:42:33 |
countoren | 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? | 18:43:38 |
Lily 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 Foster | I would say just allow that var impurely into the sandbox | 22:17:14 |
Lily Foster | You can configure that in the nix daemon | 22:17:20 |
Lily Foster | (also it will only work with buildNpmPackage -- node2nix does not inspect those tokens afaik) | 22:17:44 |
Lily 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 Foster | I'll add it to our backlog of features | 22:18:28 |