!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

170 Members
52 Servers

Load older messages


SenderMessageTime
25 Feb 2025
@transcaffeine:finallycoffee.eutranscaffeine most likely this has been solved before, i am just unsure how, as i do not really understand the works of fixup-yarn-lock 18:20:24
@tomasajt:matrix.orgTomaI don't have an answer, but I tracked down when this was first added: https://github.com/element-hq/element-desktop/commit/ae304ceb803e41e41491760dd6b8ee6a993c112820:59:09
26 Feb 2025
@eyjhb:eyjhb.dkeyJhb

I'm trying to rebase this PR ( https://github.com/NixOS/nixpkgs/pull/286471 ) to the latest nixpkgs version, but it doesn't seem to want to work. Suddenly I get the following error suddenly:

node:internal/modules/cjs/loader:1146
  throw err;
  ^

Error: Cannot find module './build/lib/main.js'
Require stack:
- /nix/store/ax9m9xlg8kjxl2h1yqqxq01p1ar00yaz-appium-unwrapped-2.16.2/lib/node_modules/appium-monorepo/packages/appium/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/nix/store/ax9m9xlg8kjxl2h1yqqxq01p1ar00yaz-appium-unwrapped-2.16.2/lib/node_modules/appium-monorepo/packages/appium/index.js:5:16)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/nix/store/ax9m9xlg8kjxl2h1yqqxq01p1ar00yaz-appium-unwrapped-2.16.2/lib/node_modules/appium-monorepo/packages/appium/index.js'
  ]
}

It works on this commit https://github.com/NixOS/nixpkgs/commit/60bbd39dd746fbda929814e917b71e9c0378d5ef ,
But at least starts failing on this one https://github.com/NixOS/nixpkgs/commit/2c944d20379397c96ff6af697aa04369c9f07dba

My bisect journey is as follows

2c944d20379397c96ff6af697aa04369c9f07dba is the first bad commit
commit 2c944d20379397c96ff6af697aa04369c9f07dba
Author: Mario Rodas <marsam@users.noreply.github.com>
Date:   Tue Mar 26 04:20:00 2024 +0000

    nodejs_20: 20.11.1 -> 20.12.0

    Changelog: https://github.com/nodejs/node/releases/tag/v20.12.0

 pkgs/development/web/nodejs/v20.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
bisect found first bad commit
eyjhb@jhbws01 ~/p/n/nixpkgs ((2c944d20)|BISECTING)> git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [993400aeecf5ce185586dded2cebccebd628ec93] Merge #303049: stdenv: avoid setuid issues
git bisect bad 993400aeecf5ce185586dded2cebccebd628ec93
# status: waiting for good commit(s), bad commit known
# good: [fcea2b6260dd566c28c894b4207a5f2b56c2cba3] Merge pull request #291503 from r-ryantm/auto-update/brev-cli
git bisect good fcea2b6260dd566c28c894b4207a5f2b56c2cba3
# bad: [16e2dee55406db4200a90719de9aa54e8d7294ca] docker-compose: 2.32.4 -> 2.33.0 (#381480)
git bisect bad 16e2dee55406db4200a90719de9aa54e8d7294ca
# bad: [a1b8af36718149eb774f1f71e3fb709e2058f610] Merge pull request #336689 from r-ryantm/auto-update/lune
git bisect bad a1b8af36718149eb774f1f71e3fb709e2058f610
# bad: [6e526680c8990bc6f9ac324c2a30f3f46042035f] gitversion: add darwin and windows platforms (#311020)
git bisect bad 6e526680c8990bc6f9ac324c2a30f3f46042035f
# bad: [a1b8af36718149eb774f1f71e3fb709e2058f610] Merge pull request #336689 from r-ryantm/auto-update/lune
git bisect bad a1b8af36718149eb774f1f71e3fb709e2058f610
# bad: [6e526680c8990bc6f9ac324c2a30f3f46042035f] gitversion: add darwin and windows platforms (#311020)
git bisect bad 6e526680c8990bc6f9ac324c2a30f3f46042035f
# bad: [4e1544bf0d98d64b63bdd71b44ebd1f75fa373ae] Merge pull request #308134 from r-ryantm/auto-update/automatic-timezoned
git bisect bad 4e1544bf0d98d64b63bdd71b44ebd1f75fa373ae
# bad: [0faf57ff447dcd37bfd1b93eb43b3a433434f4d9] Merge pull request #305412 from r-ryantm/auto-update/python311Packages.std-uritemplate
git bisect bad 0faf57ff447dcd37bfd1b93eb43b3a433434f4d9
# bad: [0518f07b8e2cbc41b588add9cf8a41a3f7d0411d] gnome: add `jxl` thumbnails and wallpapers support
git bisect bad 0518f07b8e2cbc41b588add9cf8a41a3f7d0411d
# bad: [fa2007fea64a45416dd78afb54180805c6d2e4a0] Merge pull request #288841 from TomaSajt/inochi-session
git bisect bad fa2007fea64a45416dd78afb54180805c6d2e4a0
# bad: [5c24cf2f0a12ad855f444c30b2421d044120c66f] Merge pull request #303600 from r-ryantm/auto-update/python311Packages.mailchecker
git bisect bad 5c24cf2f0a12ad855f444c30b2421d044120c66f
# good: [30a106e1ce37126a1845c1ee4876f0a61b6a2cf1] Merge pull request #298128 from r-ryantm/auto-update/k9s
git bisect good 30a106e1ce37126a1845c1ee4876f0a61b6a2cf1
# good: [9a45e48de94e7826101e4fcebec8ecd9a7fa78a2] Merge pull request #301576 from r-ryantm/auto-update/bitcoind-abc
git bisect good 9a45e48de94e7826101e4fcebec8ecd9a7fa78a2
# good: [440fad154e7ad8712ce65d5c10f8ff170847488c] Merge pull request #303541 from fabaff/cwl-utils-bump
git bisect good 440fad154e7ad8712ce65d5c10f8ff170847488c
# good: [fe8339a00ddc8642ae7c9c91c3da6a52b9874e20] Merge pull request #304445 from r-ryantm/auto-update/mympd
git bisect good fe8339a00ddc8642ae7c9c91c3da6a52b9874e20
# good: [2180a762fbbff5769d857b6c57998717c82ee21d] Merge pull request #304450 from r-ryantm/auto-update/nco
git bisect good 2180a762fbbff5769d857b6c57998717c82ee21d
# good: [d28ff02762ddf7ac270f89b8f300de789ddb3dc6] Merge pull request #304926 from r-ryantm/auto-update/bun
git bisect good d28ff02762ddf7ac270f89b8f300de789ddb3dc6
# good: [9c3c1d04ea4eb3855e721fd3b63d985f59a3c4ef] Merge pull request #303815 from r-ryantm/auto-update/re-flex
git bisect good 9c3c1d04ea4eb3855e721fd3b63d985f59a3c4ef
# good: [5d8f1c0172f424647e34f4e8eecb73fda30836aa] Merge pull request #297805 from ambroisie/podgrab-user
git bisect good 5d8f1c0172f424647e34f4e8eecb73fda30836aa
# good: [bd4ae0e121d1316a236da923e7e46ebab1fbc2c5] Merge pull request #305140 from IogaMaster/hypridle
git bisect good bd4ae0e121d1316a236da923e7e46ebab1fbc2c5
# good: [b59946a5bae2e9db3f2924a41cc93b4f42d2bbb1] Merge pull request #305178 from r-ryantm/auto-update/gqrx
git bisect good b59946a5bae2e9db3f2924a41cc93b4f42d2bbb1
# good: [42a1b1c11a1902df1beed888874a73a08f2936d2] Merge pull request #305274 from drupol/bump/jan/0-4-11
git bisect good 42a1b1c11a1902df1beed888874a73a08f2936d2
# good: [9b76c3bff5999eb24918157eb8f5c41da0540545] doc: move note on configuring Nixpkgs in NixOS to the NixOS manual (#304307)
git bisect good 9b76c3bff5999eb24918157eb8f5c41da0540545
# bad: [739cfd4a6f2d4ca6a86304578ef5578cae8d1924] Merge #303527: staging-next 2024-04-12
git bisect bad 739cfd4a6f2d4ca6a86304578ef5578cae8d1924
# good: [6875763fab4c3da1d87599324f5412d3d34a3dac] Merge pull request #305302 from r-ryantm/auto-update/wiremock
git bisect good 6875763fab4c3da1d87599324f5412d3d34a3dac
# bad: [f7ae598e45441e83206c7a75a99dd7dd0a7e6a11] Merge pull request #300905 from teto/teto/fix-lua-setup-hook
git bisect bad f7ae598e45441e83206c7a75a99dd7dd0a7e6a11
# good: [1118661647cec194c691fbc52da9f06d5fe33df2] gnome-extensions-cli: relax packaging constraint
git bisect good 1118661647cec194c691fbc52da9f06d5fe33df2
# bad: [6d070b44ac028eaafa5252b5f8f60355b0810e9d] Merge pull request #297499 from seanybaggins/add-mingw-support-qt6-qtmultimedia-staging
git bisect bad 6d070b44ac028eaafa5252b5f8f60355b0810e9d
# bad: [a33a21e3839c953c8c2cecc6678d5e092fa6d966] Merge pull request #299495 from alyssais/npth-musl-test
git bisect bad a33a21e3839c953c8c2cecc6678d5e092fa6d966
# good: [1ef51b540c74f388608373627194bbae5efb2e17] Merge pull request #299321 from trofi/libsamplerate-update
git bisect good 1ef51b540c74f388608373627194bbae5efb2e17
# bad: [cf80157eed9bd37516498232cd9573d79478ab0e] Merge pull request #299009 from jopejoe1/ffmpeg/pkg-conf&nvidia
git bisect bad cf80157eed9bd37516498232cd9573d79478ab0e
# good: [887dd17f4543aae6b0bfe78f95f5313d02d00d01] ffmpeg: add comment about why tensorflow is disabled
git bisect good 887dd17f4543aae6b0bfe78f95f5313d02d00d01
# bad: [973d6ef64d334c1054344c1e45185a7a54ac25ce] Merge pull request #299327 from marsam/update-nodejs_20
git bisect bad 973d6ef64d334c1054344c1e45185a7a54ac25ce
# bad: [2c944d20379397c96ff6af697aa04369c9f07dba] nodejs_20: 20.11.1 -> 20.12.0
git bisect bad 2c944d20379397c96ff6af697aa04369c9f07dba
# first bad commit: [2c944d20379397c96ff6af697aa04369c9f07dba] nodejs_20: 20.11.1 -> 20.12.0
07:55:13
@eyjhb:eyjhb.dkeyJhbI'll have to investigate the hooks. It seems like it's building (I have a 'build' for), but it doesn't seem to be copied over. And even if I do it manually, it isn't in the output afterwards. I have to double check this howeverm09:06:43
3 Mar 2025
@vog:matrix.orgvog joined the room.10:24:50
@vog:matrix.orgvogI noticed that Nixpkgs contains tons of server-side NPM packages, but practically no client-side NPM packges, such as the reactjs client library or bootstrap-css. Why is that? It that due to a lack of interest and/or volunteers? Or is there a project policy actively discouraging that?11:56:51
@c0ba1t:matrix.orgCobaltAfaict, mostly lack of contributions. There is also a limited need to include (client side) libraries because most derivations use a fetcher for the JS dependencies and don't rely on other packages. 16:03:47
@magic_rb:matrix.redalder.orgmagic_rbId add that JS ecosystem is notoriously hard to package purely and i get PTSD every time someone asks me to touch anything javascript16:07:49
@emilazy:matrix.orgemily probably you are looking at nodePackages which is deprecated? 16:32:25
@marie:marie.cologneMarie there's not really a reason to do that, you would be just reinventing npm 16:34:34
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @emilazy:matrix.org
probably you are looking at nodePackages which is deprecated?
Is it deprecated now? Do we now package things purely by FOD?
17:03:28
@emilazy:matrix.orgemilyyes17:03:42
@magic_rb:matrix.redalder.orgmagic_rbDamn, i get it, but kinda sucks :(17:04:09
4 Mar 2025
@eyjhb:eyjhb.dkeyJhbThe fix was this https://github.com/NixOS/nixpkgs/issues/385221#issuecomment-2689389743 , it was a .gitignore file that was the issue in the end.12:32:36
@eyjhb:eyjhb.dkeyJhbJust weird that it's only now, that it became a issue. Because that line has been there forever.12:33:53
@lassulus:lassul.uslassulus changed their profile picture.17:48:54
6 Mar 2025
@joaomoreira:matrix.orgJoão Moreira
In reply to @magic_rb:matrix.redalder.org
Is it deprecated now? Do we now package things purely by FOD?
many/all modern ecosystems in Nixpkgs are only really feasible with FODs. Until someone proves the contrary. I also dislike it, but that's what we have.
04:24:32
@joaomoreira:matrix.orgJoão MoreiraThat's one of the reasons that I find Nix is far from optimal as a local development environment.04:26:38
@joaomoreira:matrix.orgJoão Moreira * That's one of the reasons that I find Nix is far from optimal as a local development environment other than just a simple devshell.04:28:12
@joaomoreira:matrix.orgJoão MoreiraGuix people totally discard FOD on their official repos. I'm not sure if non-guix people embraced FODs.04:30:42
@joaomoreira:matrix.orgJoão Moreira * Guix people totally discard FODs on their official repos. I'm not sure if non-guix people embraced FODs.04:30:55
@joaomoreira:matrix.orgJoão Moreira * Guix totally discards FODs on their official repos. I'm not sure if non-guix people embraced FODs.04:31:14
@joaomoreira:matrix.orgJoão Moreira * Guix totally discards FODs on their official repos. I'm not sure if nonguix people embraced FODs.04:32:00
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @joaomoreira:matrix.org
many/all modern ecosystems in Nixpkgs are only really feasible with FODs. Until someone proves the contrary. I also dislike it, but that's what we have.
Oh i know and agree. But still make me sad :(
05:33:49
7 Mar 2025
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to qyriad.16:44:27
8 Mar 2025
@qyriad:katesiria.orgQyriad changed their display name from qyriad to Qyriad.21:41:03
11 Mar 2025
@avocadoom:avocadoom.deavocadoom changed their profile picture.16:36:23
20 Mar 2025
@ahbk:matrix.orgI use NixOS btw set a profile picture.08:17:25
@ahbk:matrix.orgI use NixOS btw changed their profile picture.08:17:57
@ahbk:matrix.orgI use NixOS btw changed their display name from ahbk to I use NixOS btw.16:16:22

There are no newer messages yet.


Back to Room ListRoom Version: 6