!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

190 Members
56 Servers

Load older messages


SenderMessageTime
29 Nov 2025
@pyrox:pyrox.devdish [Fox/It/She]* I would rather just not deal with ema/emanote01:47:14
@pyrox:pyrox.devdish [Fox/It/She]* I would rather just not deal with ema or emanote01:47:19
@pyrox:pyrox.devdish [Fox/It/She]yeah it was removed from haskellPackages in #44408301:48:37
@pyrox:pyrox.devdish [Fox/It/She]so I don't care if you break it01:48:43
@pyrox:pyrox.devdish [Fox/It/She]and I don't think haskell will care either01:49:01
@tomodachi94:matrix.orgTomodachi94 (they/them) Oh I was looking at the wrong channel on search.nixos.org... again 02:11:17
@pyrox:pyrox.devdish [Fox/It/She]happens to all of us ^^02:11:40
@tomodachi94:matrix.orgTomodachi94 (they/them)Might submit a feature request for that actually. A single cookie for "default channel when one isn't specified" would be handy I think04:51:55
@tomodachi94:matrix.orgTomodachi94 (they/them)Or I could just bookmark the unstable search05:46:04
@rav:vergara.techRene joined the room.21:38:14
@rav:vergara.techReneHello. Could someone point me to an example of using a flake to create a devShell for Angular?21:40:29
30 Nov 2025
@tomodachi94:matrix.orgTomodachi94 (they/them)

This person has one: https://github.com/khaneliman/khanelinix/tree/main/templates/angular

It looks like this would be one way to make a devShell with this: https://nixos.org/manual/nixpkgs/unstable/#javascript-buildNpmPackage-importNpmLock.buildNodeModules

00:30:22
@rav:vergara.techRene I do think this is the way to go. I'm still trying to get the hashes, but I think it will work 00:44:34
@phanirithvij:matrix.orgloudgolem

https://discourse.nixos.org/t/building-a-yarn-package-with-private-git-dependencies-using-nix/72601

Has anyone solved this problem? Please answer it on discourse.

03:15:17
@tomodachi94:matrix.orgTomodachi94 (they/them)

https://github.com/NixOS/nixpkgs/pull/466477

It occurred to me that nodePackages is the first recommendation for adding a new Node package, so let's change that haha

04:40:44
@tomodachi94:matrix.orgTomodachi94 (they/them) *

https://github.com/NixOS/nixpkgs/pull/466477

It occurred to me that nodePackages is the first recommendation in the docs for adding a new Node package, so let's change that haha

04:41:01
@tomodachi94:matrix.orgTomodachi94 (they/them)I responded there, suggesting you configure a proxy05:02:45
@tomodachi94:matrix.orgTomodachi94 (they/them)Adding a line to /etc/hosts might actually work better and require less configuration05:08:25
@tomodachi94:matrix.orgTomodachi94 (they/them) * Adding a line to /etc/hosts might actually work better and require less configuration nope, this is wrong 05:35:10
@rav:vergara.techRene I tried this and nix build hangs when it calls ng build. No errors but doesn't finish.
Still trying to get the devShell to work
15:44:32
@pyrox:pyrox.devdish [Fox/It/She]angular may be trying to use the network idk16:05:07
@rav:vergara.techRene 🤔 17:38:19
@rav:vergara.techRene tried nix build --impure, same result 17:51:33
1 Dec 2025
@tomodachi94:matrix.orgTomodachi94 (they/them)A discussion about nodePackages is happening: https://matrix.to/#/!CTCrFzsBPYmDLmrja4:0upti.me/$BaD-t3TiFCtdz_wkxwBV8FNnX_UkldLxh-NXAUiktVI?via=nixos.org&via=matrix.org&via=tchncs.de19:53:13
@emma:rory.gayEmma [it/its]hm, any clue on npm trying to download non cached packages?22:46:45
@emma:rory.gayEmma [it/its]
out-of-your-element> Installing dependencies
out-of-your-element> npm error code ENOTCACHED
out-of-your-element> npm error request to https://registry.npmjs.org/glob failed: cache mode is 'only-if-cached' but no cached response is available.
out-of-your-element> npm error A complete log of this run can be found in: /build/cache/_logs/2025-12-01T22_46_07_545Z-debug-0.log
out-of-your-element> ERROR: npm failed to install dependencies
22:46:55
@emma:rory.gayEmma [it/its]its just a standard buildNpmPackage so... i dont get it lol22:47:24
@c0ba1t:matrix.orgCobalt Is the lockfile consistent/complete? 23:01:16
@emma:rory.gayEmma [it/its] narrowed it down to the commit that broke nix builds: https://gitdab.com/cadence/out-of-your-element/commit/ce30272389 23:01:19
@emma:rory.gayEmma [it/its] it should be, doing an npm i --save in the dir doesnt break it 23:01:41

Show newer messages


Back to Room ListRoom Version: 6