| 14 Jul 2023 |
Janne Heß | * so I have to check spliceReal → mash → merge → value in splice.nix?? | 15:11:01 |
Janne Heß | what the… | 15:11:30 |
Lily Foster | In reply to @janne.hess:helsinki-systems.de but probably? If that diff does work for your particular use-case, let me know and I may just go ahead and PR it, unless I or someone else comes up with something better | 16:49:44 |
| 17 Jul 2023 |
| exelent joined the room. | 14:12:41 |
exelent | Hello guys, I want to install nodejs using home-manager to my new MBP M2, but nix always intend to build it from source, rather then download from a binary cache.
pkgs = inputs.nixpkgs.legacyPackages.aarch64-darwin; this are the packages that I define. I also enabled cachix community cache cachix use nix-community | 14:39:55 |
adamcstephens | What is your nixpkgs input url? | 15:46:35 |
Lily Foster | exelent: Is your home-manager config in a public repo so that we can look at it? | 15:51:03 |
| 18 Jul 2023 |
hexa | gdamjan: any progress on the appservice-irc? | 13:26:24 |
gdamjan | I didn't have the time to touch it | 14:38:57 |
gdamjan | I'm getting ready every day, but not enough slacking time at work :/ | 14:39:24 |
gdamjan | my idea was to do a fetchYarnDeps for the deps, and do the build manually, based on what they do in the Dockerfile | 14:40:56 |
gdamjan | so fetchYarnDeps gets all the deps, how does one clean-up non-production deps later? | 18:23:10 |
Lily Foster | In reply to @gdamjan:spodeli.org so fetchYarnDeps gets all the deps, how does one clean-up non-production deps later? Yarn does that during yarn install by default | 18:27:35 |
Lily Foster | For production* | 18:27:43 |
gdamjan | when does that happen | 18:28:05 |
gdamjan | ugh, I just downloaded all the internet of deps :D | 18:28:21 |
gdamjan | including all the esbuilds for all architectures in the world | 18:28:51 |
Lily Foster | In reply to @gdamjan:spodeli.org when does that happen Towards the end. I'd have to go double check exactly. Why, is it not doing it for you? | 18:29:45 |
gdamjan | last time I checked it wasn't | 18:30:15 |
Lily Foster | Can you share the derivation? | 18:32:34 |
gdamjan | let me re-try, this was some time back trying to build matrix-appservice-irc | 18:39:30 |
gdamjan | well, I stumbled on another problem https://github.com/matrix-org/matrix-appservice-irc/blob/develop/yarn.lock#L1309-L1327 it wants two different versions of ajv nix only installs the older one | 21:52:49 |
gdamjan | let me try nixos-unstable | 21:54:06 |
gdamjan | same thing | 21:55:13 |
gdamjan | on non-nix there will be 4 versions of ajv:
node_modules/har-validator/node_modules/ajv
node_modules/eslint/node_modules/ajv
node_modules/ajv
node_modules/@eslint/eslintrc/node_modules/ajv```
| 21:56:05 |
gdamjan | * on non-nix there will be 4 versions of ajv:
node_modules/har-validator/node_modules/ajv
node_modules/eslint/node_modules/ajv
node_modules/ajv
node_modules/@eslint/eslintrc/node_modules/ajv
| 21:56:16 |
Lily Foster | In reply to @gdamjan:spodeli.org well, I stumbled on another problem https://github.com/matrix-org/matrix-appservice-irc/blob/develop/yarn.lock#L1309-L1327 it wants two different versions of ajv nix only installs the older one As in fetchYarnDeps only fetches the older version? | 23:11:22 |
gdamjan | no that was mkYarnPackage | 23:15:32 |
Lily Foster | Ah, yarn2nix makes me sad 🥲 | 23:15:47 |
| 19 Jul 2023 |
@ambroisie:belanyi.fr | Do we have a list of pnpm packages currently in nixpkgs? | 10:35:56 |