| 25 Jun 2025 |
@neobrain:matrix.org | * Hi! I'm trying to use fetchYarnDeps for a new derivation but yarn install --offline keeps complaining that it can't make a request in offline mode for packages that clearly are in the offline store. Is there anything non-obvious that one needs to do to make this work besides the yarn config set yarn-offline-mirror ${theFetchedYarnDeps} line? | 14:48:06 |
@neobrain:matrix.org | oh gosh, I think I finally got it. Seems like additionally calling fixup-yarn-lock yarn.lock is needed to make it work. Gosh I've been fighting with this all afternoon D: | 15:05:45 |
@neobrain:matrix.org | * oh wow I think I finally got it. Seems like additionally calling fixup-yarn-lock yarn.lock is needed to make it work. Gosh I've been fighting with this all afternoon D: | 15:07:17 |
| 27 Jun 2025 |
| R̴̨͕͇͍̞̮̐̅͆̌̀̉̐͋̈́̃̀͒́̎̅̚̚̚͠͝Ĕ̵̡̛͖͖̟̙̫̱͈̘̞̭͍͍͑̌̄͑̓̋̓̀̈̏̈́͊̇͊͆̉͂̏̀̃̚͘͝͝ͅͅD̶̡̢͔̱̖̮͙͉̘̺͓͍̩̮͈͍͗̃̀̏͌͘͜ͅŚ̸̬̭̯̬͙͇͓̬̩̳̤͚͓̤̩̺͉͖̉͛̓̿̎͊̿̆́̐͂̇͌̄̇̓͘ͅͅT̴̞̫̘̝͇͔̟̪̪̦͂̔̎̀̎ͅŎ̷̡̬̹̪͈̭̣͈̭̭͉̦̖̝̘̪͖͔̥̦̘̻̳Ṋ̶̛̫͈̳̘͚̜̔̋͆̅̈́͊̑͊̉̌̈́̾͑̈́̚ͅË̸̡̨̨̛͇̜̖͔͖̻̟̗̠̙͓̘̗̥͉͇̜͑͆͊͑͑̀̓͒͜͝͝ changed their display name from Redstone to R̴̨͕͇͍̞̮̐̅͆̌̀̉̐͋̈́̃̀͒́̎̅̚̚̚͠͝Ĕ̵̡̛͖͖̟̙̫̱͈̘̞̭͍͍͑̌̄͑̓̋̓̀̈̏̈́͊̇͊͆̉͂̏̀̃̚͘͝͝ͅͅD̶̡̢͔̱̖̮͙͉̘̺͓͍̩̮͈͍͗̃̀̏͌͘͜ͅŚ̸̬̭̯̬͙͇͓̬̩̳̤͚͓̤̩̺͉͖̉͛̓̿̎͊̿̆́̐͂̇͌̄̇̓͘ͅͅT̴̞̫̘̝͇͔̟̪̪̦͂̔̎̀̎ͅŎ̷̡̬̹̪͈̭̣͈̭̭͉̦̖̝̘̪͖͔̥̦̘̻̳Ṋ̶̛̫͈̳̘͚̜̔̋͆̅̈́͊̑͊̉̌̈́̾͑̈́̚ͅË̸̡̨̨̛͇̜̖͔͖̻̟̗̠̙͓̘̗̥͉͇̜͑͆͊͑͑̀̓͒͜͝͝. | 00:57:26 |
Tumble | what causes the npm-build-hook setup-hook to kill itself? | 18:22:36 |
Tumble | | 18:25:41 |
Tumble | bmod> [11ty] Writing /nix/store/n1ki5hpv6qjn517cgw10ssl86bfmm753-bmod-static/servers/index.html from ./_root/servers.html (liquid)
bmod> [11ty] Writing /nix/store/8yzd73k47j7fjsx5f0igxssp282ib0b6-bmod-static/balance/index.html from ./_root/balance.html (liquid)
bmod> [11ty] Writing /nix/store/n7kjqr06ybdqbaqjyihkn4dhzkprgaaf-bmod-static/moddedweapons/index.html from ./_root/moddedweapons.html (liquid)
bmod> [11ty] Writing /nix/store/n7kjqr06ybdqbaqjyihkn4dhzkprgaaf-bmod-static/balance/index.html from ./_root/balance.html (liquid)
bmod> [11ty] Writing /nix/store/n7kjqr06ybdqbaqjyihkn4dhzkprgaaf-bmod-static/asset-pack-test/index.html from ./_root/asset-pack-test.html (liquid)
bmod> /nix/store/21h54w4z8q9k7vjp11kl4xglbh8sfy5f-npm-build-hook/nix-support/setup-hook: line 3: 278 Killed npm run ${npmWorkspace+--workspace=$npmWorkspace} "$npmBuildScript" $npmBuildFlags "${npmBuildFlagsArray[@]}" $npmFlags "${npmFlagsArray[@]}"
bmod> ERROR: `npm build` failed
bmod> Here are a few things you can try, depending on the error:
bmod> 1. Make sure your build script (static:build) exists
bmod> If there is none, set `dontNpmBuild = true`.
bmod> 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation
bmod> See https://github.com/webpack/webpack/issues/14532 for more information.
error: builder for '/nix/store/n2548zdlw6hjfgnkxq9is6x3n9kc2qmv-bmod.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/x1bxxf20ncsby1v5y0jadsjs1bvbdpy2-Caddyfile.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bk0lhrw88ldg2vx04pbbfv9wvp5mnwx1-Caddyfile-formatted.drv' failed to build
error: 1 dependencies of derivation '/nix/store/53xm62vz6cq07wqkakf670vhz5s2rsjd-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gxndj1l21fa3pvq86b2ghlqh05km3c0b-nixos-system-blutsauger-25.11.20250624.30a61f0.drv' failed to build
Command '['nix', '--extra-experimental-features', 'nix-command flakes', 'build', '--print-out-paths', 'gitlab:balancemod/main-site-nixos#nixosConfigurations."blutsauger".config.system.build.toplevel', '--print-build-logs', '--show-trace', '--refresh', '--no-link']' returned non-zero exit status 1.
[tumble@blutsauger:~]$
| 18:26:14 |
| 6 Jul 2025 |
| Cathal changed their display name from CJ to Cathal. | 17:17:32 |
| 8 Jul 2025 |
| @neobrain:matrix.org left the room. | 12:13:53 |
| 10 Jul 2025 |
| @aerunakai:matrix.org joined the room. | 05:57:42 |
| 11 Jul 2025 |
| @aerunakai:matrix.org removed their profile picture. | 16:40:25 |
| @aerunakai:matrix.org removed their display name aerunakai. | 16:40:31 |
| @aerunakai:matrix.org left the room. | 16:40:38 |
| 12 Jul 2025 |
Emma [it/its] | question, how would one handle optional npm dependencies with nix? | 11:44:04 |
Emma [it/its] | as in, certain optional features using some optional dependencies, or being able to pick one of 2 implementations of a thing | 11:45:07 |
| 13 Jul 2025 |
| Marie changed their profile picture. | 20:12:44 |
| 20 Jul 2025 |
Emma [it/its] | question, how would i go about handling optional dependencies? | 23:45:25 |
Emma [it/its] | oh that's the same question i asked the other day | 23:45:38 |
| 21 Jul 2025 |
| @amardeeps:matrix.org left the room. | 17:28:59 |
| @amardeeps:matrix.org joined the room. | 17:37:41 |
| @amardeeps:matrix.org left the room. | 17:37:50 |
| 28 Jul 2025 |
| John joined the room. | 08:01:04 |
| 8 Aug 2025 |
| 0x4A6F joined the room. | 06:57:00 |
| 16 Aug 2025 |
| Lyn joined the room. | 14:25:09 |
| Lyn left the room. | 14:30:02 |
| 29 Aug 2025 |
| Philip Taron (UTC-8) joined the room. | 00:36:22 |
Philip Taron (UTC-8) | 383256 | 00:36:35 |
Philip Taron (UTC-8) | * https://github.com/NixOS/nixpkgs/pull/383256
I'd love to commit this
can i get a reviewer | 00:37:16 |
| magic_rb changed their profile picture. | 19:29:31 |
| 30 Aug 2025 |
Cobalt | Hey, does anyone know the recommended way to run patchShebangs on the node_modules of workspace members? The current implementation of buildNpmPackage only runs it once on the top-level node_modules leaving any workspace-level node_modules unpatched. This will lead to build errors if, e.g., the workspace members contain deps with shebangs, like vite.
postInstall doesn't appear to work/ be passed through so I only could get it to work as a buildPhase or configurePhase adjustment. Both of them however seem to be not really applicable to this step. It also feels like this should be accounted for by buildNpmPackage, especially given one can explicitly specify workspace members.
| 20:26:54 |