!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

882 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
21 May 2021
@toonn:matrix.orgtoonn I'll head to #nix 21:40:31
@toonn:matrix.orgtoonnHmm, #dev:nixos.org redirects me here.21:55:28
@sternenseemann:systemli.orgsterni (he/him)I can confirm that it is a real channel21:55:54
@sternenseemann:systemli.orgsterni (he/him)that is not this one21:55:57
@toonn:matrix.orgtoonnWait, no it doesn't! #chat:nixos.org redirected me to #offtopic:nixos.org and /join #dev:nixos.org didn't do anything so I assumed the same thing was happening.21:56:36
@toonn:matrix.orgtoonn Thanks, sterni. 21:56:46
22 May 2021
@robin.gloster:matrix.mayflower.deglobin joined the room.00:04:59
@jez:petrichor.meJez (he/him) joined the room.07:37:50
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ joined the room.08:06:24
@skochen:matrix.orgStéphan joined the room.09:16:19
@hugotr:matrix.orghtr joined the room.11:28:55
@andi:kack.itandi- removed their profile picture.13:25:46
@andi:kack.itandi- set a profile picture.13:34:01
@jackal:matrix.orgcodyopel joined the room.14:24:28
@skochen:matrix.orgStéphan set a profile picture.20:23:18
23 May 2021
@v:anomalous.euV joined the room.11:21:08
@sternenseemann:systemli.orgsterni (he/him) changed their display name from sterni to sterni (he/him).13:24:21
24 May 2021
@kunrooted:matrix.orgkunrooted joined the room.05:15:52
@theophane:hufschmitt.netRegnat niksnut @ericson2314 CA meeting? 14:04:01
@theophane:hufschmitt.netRegnatAh John isn’t there14:04:23
@jez:petrichor.meJez (he/him) left the room.14:04:43
@anderscs:matrix.organderscs joined the room.17:11:24
@jul1u5:matrix.orgjul1u5 removed their profile picture.20:05:07
@infinisil:matrix.orginfinisil joined the room.20:30:04
@lukebfox:matrix.orglukebfox joined the room.22:34:47
25 May 2021
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️just an idea that popped into my head... a scratch dialect that compiles to NixOS configs! probably way too crazy but it just occured to me that NixOS modules could be represented as blocks and used in visual programming! For example, there could be a block that creates a new module, and blocks that get inserted inside, setting options to values declared by inner blocks. I'm not well-versed in Scratch but I think such a visual programming tool could help people understand Nixlang better11:03:45
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️

Something like this (excuse my crappy ASCII art):

[NixOS module]
\- [option-set services]
   |- [option-set redis]
   |  \- [option enable]
   |     \- [boolean true]
   \- [option-set nginx]
      \- [option enable]
         \- [boolean true]

would compile to something like this:

{ config, pkgs, lib, modulesPath, ... }: {
  services = {
    redis = {
      enable = true;
    };
    nginx = {
      enable = true;
    };
  };
}
11:09:02
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️then all we need would be to just provide some sort of index on the options that would get consumed by the tool to show completions for the option-set which produces an attribute set11:09:53
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️i'm pretty sure this is a crappy idea and it has some sort of fatal drawback, I just haven't found one11:11:20
@toonn:matrix.orgtoonn I think the only drawback is what happens with scratch too. You basically flatten the lowering curve a bunch but only at the start, creating a cliff. / -> _| 11:48:18

Show newer messages


Back to Room ListRoom Version: 6