!9IQChSjwSHXPPWTa:lix.systems

Lix

1162 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms319 Servers

Load older messages


SenderMessageTime
11 May 2026
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️thank you so much! i'll take a look at the latter option, opening PRs tends to be my go to for just, helping others not run into the same issues down the line :p14:12:06
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️ would there be any unexpected consequences from just swapping this out:
`sha256 = builtins.convertHash {
inherit hash;
toHashFormat = "sri";
hashAlgo = "sha256";
};
`
for just sha256 = hash? from waht I can tell fetchurl already has native support for sha256:hex, so the conversion seems unnecessary
14:42:26
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️mm, is there any way to do discord-like code block highlighting on matrix?14:42:55
@blokyk:matrix.orgzoë (@blokyk)
14:43:04
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️* that aside, is there any way to do discord-like code block highlighting on matrix?14:43:08
@blokyk:matrix.orgzoë (@blokyk) *
```lang
```
14:43:17
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️huh14:43:16
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️ahh thank you14:43:21
@blokyk:matrix.orgzoë (@blokyk) *
```lang
code
```
14:43:24
@blokyk:matrix.orgzoë (@blokyk)nested markdown is hard ok x)14:43:34
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️ would there be any unexpected consequences from just swapping this out:
sha256 = builtins.convertHash {
      inherit hash;
      toHashFormat = "sri";
      hashAlgo = "sha256";
    };
for just sha256 = hash? from waht I can tell fetchurl already has native support for sha256:hex, so the conversion seems unnecessary
14:43:32
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️you're all good lmao14:43:51
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️i remember having to deal with it when trying to make a quine14:43:59
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️it was a time for sure14:44:05
@askosia:m.grimmauld.deaskosia 🏳️‍⚧️...i wonder how hard it'd be to make a quine in Nix14:47:12
12 May 2026
@maxisthespy:matrix.orgMaxisthespy
In reply to @alexfmpe:matrix.org
Yeah this. A lot of the types would end up being Map String Any
I’m not sure I actually find this a compelling argument, all types in any system reduce down to primitives, the point of modern higher type systems is to let us draw distinctions between the same primitives based on function
16:36:18
@maxisthespy:matrix.orgMaxisthespyI’m not arguing for someone to implement it I just don’t think the fact that most nix types wind up being some combination of lists maps and strings that much of a barrier to the usefulness of a type system16:37:05
@alexfmpe:matrix.orgalexfmpeA type system would be useful, it's just that it'd take a lot of upfront work for it to be useful in the non trivial bindings because half the place is playing fast and loose with types16:38:45
@alexfmpe:matrix.orgalexfmpeYeah I can be a boolean, or a string, or a list of strings, or a record, or a function that returns a record16:39:16
@alexfmpe:matrix.orgalexfmpeHow do you type that without first making it sane?16:39:28
@maxisthespy:matrix.orgMaxisthespy I would go for a top down approach based on interfaces, for example does this follow a module interface ie does it provide outputs with the following names and vaguely the right types, that atleast would give some better sense of typing I feel 16:41:37
@maxisthespy:matrix.orgMaxisthespyWhich I suppose might be a slightly different thing but it atleast sidesteps the problem a bit16:42:05
@maxisthespy:matrix.orgMaxisthespyhttps://github.com/ryanrasti/typenix this project has a rather interesting claim16:43:53
13 May 2026
@brume:mortebrume.eubrume changed their display name from brume to brum.09:44:34
@brume:mortebrume.eubrume changed their display name from brum to bru.09:47:29
@brume:mortebrume.eubrume changed their display name from bru to brume.09:47:48
@gretj:catgirl.cloud@gretj:catgirl.cloud left the room.10:21:22
@phebee:matrix.orgphebee joined the room.10:38:21
@laura:fireants.devLaura joined the room.14:40:04
14 May 2026
@vision69:matrix.org@vision69:matrix.org left the room.03:29:30

There are no newer messages yet.


Back to Room ListRoom Version: 10