!9IQChSjwSHXPPWTa:lix.systems

Lix

1127 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-rooms307 Servers

Load older messages


SenderMessageTime
25 Feb 2026
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 07:10:02
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) Was there a migration service 07:16:18
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)oh07:18:18
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)wrong chat07:18:21
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)should have been offtopic07:18:25
@raitobezarius:matrix.orgraitobezarius stringContainsNul = s: match ".*" s == null ? (courtesy of horrors) 11:19:31
@raitobezarius:matrix.orgraitobezariusit could already go into nixpkgs' lib11:19:54
@raitobezarius:matrix.orgraitobezariusI don't think the problem is that NUL bytes can have an effect on drvhashes, that's ifne11:20:59
@raitobezarius:matrix.orgraitobezarius* I don't think the problem is that NUL bytes can have an effect on drvhashes, that's fine11:21:00
@k900:0upti.meK900W h a t11:23:11
@raitobezarius:matrix.orgraitobezariusPOSIX ERE doesn't match NUL bytes11:23:26
@k900:0upti.meK900Beautiful11:23:52
@emilazy:matrix.orgemily so that means lib.hasInfix is broken when strings contain NUL bytes 11:31:37
@emilazy:matrix.orgemily
nix-repl> lib.trimWith { start = true; end = true; } (builtins.fromJSON ''"   a\u0000b "'')
""
11:33:02
@emilazy:matrix.orgemily and makes lib.strings.sanitizeDerivationName abort despite being a total function prior to NUL bytes 11:34:19
@emilazy:matrix.orgemilyand there is probably no good alternative for doing a lot of those tasks because the regex functions compensate for Nix's anaemic string processing to begin with11:35:00
@raitobezarius:matrix.orgraitobezariussounds like good problems to solve, albeit I doubt we will run into them yet in practice?11:39:05
@emilazy:matrix.orgemily but now solving them would break eval compatibility, especially if we put that sniffing function in lib :) 11:42:10
@emilazy:matrix.orgemilyunless you mean, entirely new set of string processing functions11:42:32
@raitobezarius:matrix.orgraitobezariusthis is what I meant11:43:16
@piegames:flausch.socialpiegamesYes please11:45:17
@piegames:flausch.socialpiegamesI want a Nix stdlib that is actually good11:45:33
@piegames:flausch.socialpiegamesBut also, "actually good" to me means "not passing around functions in attrsets via builtins"11:47:29
@piegames:flausch.socialpiegamesBut that new syntax will require langver11:47:46
@dinckelman:matrix.orgdinckelman joined the room.12:55:07
@silver:matrix.brendan.iesilver

waves
K900 told me to pop this here.

Basically on nix (Lix, like Nix) 2.94.0 and was getting build errors.
did a min example and fetchurl was not able to download anything
Host system could
K900 recommended adding --option pasta-path "" to the build command and it worked

I did note:

Only the first DNS server in /etc/resolv.conf is considered: failover is not possible.

But first nameser works ok, (can dig and use curl)
And the error was not about resolving the domain, it was about connecting to it
curl: (7) Failed to connect to forgejo.skynet.ie port 443 after 1 ms: Could not connect to server
So I doubt it is that

Another thing to note is that This server is in LXC (proxmox)

13:08:27
13 May 2024
@aciceri:nixos.devzrsk joined the room.13:37:30
@dariof4:matrix.orgdariof4 joined the room.14:16:05
@abbe:badti.meabbe joined the room.14:42:22
@mjm:midna.devmjmlix is now in nixos-unstable, what's the best way to use it in a NixOS config?15:47:41

Show newer messages


Back to Room ListRoom Version: 10