!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
22 Apr 2025
@sistema.matrix:matrix.orgThomas joined the room.17:11:37
@griff79:matrix.orggriff joined the room.19:07:55
23 Apr 2025
@slamphear:matrix.org@slamphear:matrix.org joined the room.00:07:12
@puck:puck.moepuck
In reply to @mschwaig:matrix.org

Just asking out of curiosity: Why was string length important to you?

I don't see when that would matter with how they are usually used, so I figure maybe you are doing something unusual. 😅

it's for calculating the length of the final string, post-substitution, so it can be properly seated into the tarball
12:39:20
@slamphear:matrix.org@slamphear:matrix.org left the room.12:40:10
@mschwaig:matrix.orgMartin Schwaighofer
In reply to @puck:puck.moe
it's for calculating the length of the final string, post-substitution, so it can be properly seated into the tarball
Ok, I see. Thanks. 😊
13:04:10
@joerg:thalheim.ioMic92
In reply to @aleksana:mozilla.org
Idea: We should detect a "minimum syscall permission set" that allows Nix to work and make both hydra and ofborg follow this specification. Currently nested containers (for example, nix-build in systemd-nspawn) cannot pass the checkPhase of some packages, but we don't fix it because CI isn't set up as such.
The nix sandbox with seccomp defines the minimum set of syscalls already.
13:24:18
@joerg:thalheim.ioMic92Issue is that your containers syscall set is smaller than set13:24:56
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @joerg:thalheim.io
Issue is that your containers syscall set is smaller than set
We should at least throw a warning I guess?
13:25:26
@joerg:thalheim.ioMic92How would you implement that?13:25:50
@joerg:thalheim.ioMic92This something you can do in a test derivation. But I don't think nix should test this13:26:55
@joerg:thalheim.ioMic92* This something you can do in a test derivation. But I don't think nix should test this on startup13:27:06
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @joerg:thalheim.io
This something you can do in a test derivation. But I don't think nix should test this
Maybe test in Nix installer, and also add to like nix config check?
13:28:27
@jul1u5:matrix.orgjul1u5 changed their profile picture.18:31:40
24 Apr 2025
@main.hose6422:matrix.orgmain.hose joined the room.18:39:23
25 Apr 2025
@bennofs:matrix.orgBenno Fünfstück joined the room.15:17:57
@nrs-status:matrix.orgthirdofmay18081814goya joined the room.15:18:01
@bennofs:matrix.orgBenno Fünfstückis there some way to force a value in Nix but then later deallocate everything allocated by this forcing? Or is that fundamentally impossible due to how the evaluator works right now?15:23:57
@bennofs:matrix.orgBenno Fünfstückperhaps I could abuse fork for this... hmm15:24:40
@emilazy:matrix.orgemilywell, you can drop all references to it and let it get GC'd15:29:27
@emilazy:matrix.orgemilybut generally forced thunks don't go back to being thunks in lazy languages15:29:44
@bennofs:matrix.orgBenno Fünfstückah yes I suspected this might be the case. thanks15:31:48
26 Apr 2025
@thorhop:norge.chatBigBabyThor changed their profile picture.15:12:55
@thorhop:norge.chatBigBabyThor changed their display name from BBTHidden to BigBabyThor.15:13:36
@thorhop:norge.chatBigBabyThor changed their profile picture.15:28:47
@haylin:envs.nethaylin joined the room.17:57:05
@haylin:envs.nethaylin changed their profile picture.18:03:19
@awwpotato:envs.net@awwpotato:envs.net changed their profile picture.19:52:48
27 Apr 2025
@khaleghi:matrix.org.. changed their display name from EndureAhead to ...23:37:54
@pablo:taktpraha.cz@pablo:taktpraha.cz removed their profile picture.23:57:15

Show newer messages


Back to Room ListRoom Version: 6