| 25 Oct 2021 |
@timdeh:matrix.org | then you can see all the declared options from nixosConfigurations.yourSystem.config | 22:46:32 |
@teutat3s:pub.solar | ah great, thanks - I'll try that instead | 22:46:49 |
| 26 Oct 2021 |
David Arnold (blaggacao) | We should probably remove that then. 🙂 | 00:14:08 |
David Arnold (blaggacao) | ... an opportuity for PR-merged-in-5-mins. 😆 | 00:15:02 |
@timdeh:matrix.org | indeed, bonus points if you replace it with a script that just does the above repl trick for you perhaps? | 00:19:01 |
| @grahamc:nixos.orgchanged room power levels. | 01:15:49 |
| @mjolnir:nixos.org changed their display name from mjolnir to NixOS Moderation Bot. | 02:00:11 |
| @mjolnir:nixos.org set a profile picture. | 02:00:28 |
| @mjolnir:nixos.org changed their profile picture. | 02:23:42 |
| @mjolnir:nixos.org changed their profile picture. | 02:33:13 |
@teutat3s:pub.solar | Do we still need lib/compat for other things in the template? Do you know how to pass arguments for execution to the interactive command nix repl? | 08:31:43 |
@teutat3s:pub.solar | I'd like to add an overlay for a nodePackage to overlays/overrides.nix but can't get it to work. How would you do it? Could you help me with an example? | 09:52:27 |
@teutat3s:pub.solar | My goal is to override its channel to latest | 09:52:52 |
@timdeh:matrix.org | lib/compat should contain a copy of flake-compat iirc. As far as overrides, in the simple case it's usually just like the examples. Are you trying to override a deeply nested package perhaps? | 13:57:01 |
@teutat3s:pub.solar | I tried adding nodePackages.dockerfile-language-server-nodejs to the list there, but that errors out (wrong syntax) | 14:04:06 |
@teutat3s:pub.solar | error: syntax error, unexpected '.' | 14:04:28 |
@kraftnix:matrix.org | `inherit (channels.latest.nodePackages) dockerfile-language-server-nodejs;`? | 14:32:24 |
@danielphan.2003:matrix.org | This wouldn't work, you would need to pass it to another attrset. How about nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) dockerfile-language-server-nodejs; }? | 14:45:46 |
@teutat3s:pub.solar | Daniel Phan: thanks, yayy that worked | 14:50:42 |
Pacman99 | In reply to @danielphan.2003:matrix.org This wouldn't work, you would need to pass it to another attrset. How about nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) dockerfile-language-server-nodejs; }? I would also check if nodePackages has its own override semantic, something like nodePackages = nodePackages.override (nfinal: nprev: { }). Because using // with package subsets can sometimes cause problems, I've experienced that when trying to override pythonPackages. | 18:15:50 |
| 27 Oct 2021 |
@gytis-ivaskevicius:matrix.org | David Arnold (blaggacao): nrdxp alive? | 20:53:13 |
@timdeh:matrix.org | ? | 20:53:36 |
@gytis-ivaskevicius:matrix.org | up for a call with a president? | 20:53:39 |
@timdeh:matrix.org | whose president 😅 | 20:53:48 |
David Arnold (blaggacao) | You mean, the dictator? 😎 | 20:54:55 |
| hexa joined the room. | 23:38:49 |
| hexa left the room. | 23:39:26 |
| @grahamc:nixos.orgchanged room power levels. | 23:50:04 |
| @grahamc:nixos.org left the room. | 23:50:10 |
| @mjolnir:nixos.orgchanged room power levels. | 23:51:57 |