!9IQChSjwSHXPPWTa:lix.systems

Lix

1119 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-rooms300 Servers

Load older messages


SenderMessageTime
20 Dec 2025
@sofiedotcafe:matrix.orgSofie πŸ³οΈβ€βš§οΈ (she/her)Is there ANYTHING spare hardware can be used for?11:18:34
@sofiedotcafe:matrix.orgSofie πŸ³οΈβ€βš§οΈ (she/her) Just as a general question 11:18:56
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”untrusted spare hardware would be useful for running tests on, no? fuzzing / reproducibility checks / maybe PR CI unsure how many of those lix has a need for but none of those are sensitive, the worst a hostile machine could do is lie and say "yeah there's (no) bugs"11:41:37
@lotte:chir.rsLotte (it/its)/Cinny (she/her)i don’t think nix lets you split tests in that way without going full on cppnix packaging11:43:25
@noob_tea:matrix.orgteaI wonder, has anyone made a nix pinning system that vendors code, node-modules style?11:46:54
@noob_tea:matrix.orgtea as far as I know, things like npins generate a nix file with fetchers; it'd be an interesting alternative approach 11:47:52
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”"npins but the fetchers are just a path" ig?11:48:24
@noob_tea:matrix.orgteawell yeah, but I'd also want it to auto-vendor the deps :) not sure this would be a practical improvement over npins, but maybe its good to avoid ifd11:49:47
@lotte:chir.rsLotte (it/its)/Cinny (she/her)crate2nix does that for some reason11:50:50
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”i don't think npins strictly speaking uses ifd, it just uses builtins fetchers?11:52:08
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”(which you can get it to not do, if you give it a nixpkgs, but you need to use a builtin fetcher to fetch nixpkgs itself)11:52:34
@piegames:flausch.socialpiegames
In reply to @522_:catgirl.cloud
i don't think npins strictly speaking uses ifd, it just uses builtins fetchers?
IMO builtin fetchers are no different than IFD for all intents and purposes
13:04:47
@piegames:flausch.socialpiegamesMy dream is to have builtin fetchers return a special derivation which would make the IDF part more explicit (and also be part of an IFD as first-class citizen approach)13:05:33
@piegames:flausch.socialpiegamesBut tbh that is not my battle field to work on, so other people may decide differently13:06:11
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”ig you could vendor "nixpkgs but just enough to make fetchers work" and then use those fetchers for everything else13:06:37
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”so you're not vendoring All Of Nixpkgs but also not using builtin fetchers13:06:53
@kloenk:kloenk.eukloenkwould that help anything? does still need IFD then, or am I missing something right now?13:08:21
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”uhhhh maybe, but it wouldn't block eval on a network download ig?13:08:46
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”well actually no if it's just vendored then it's just like any other code in your project13:09:20
@k900:0upti.meK900I want zeroth class IFD13:09:23
@k900:0upti.meK900I want IFD to just be part of the build graph and no one gives a fuck13:09:32
@lotte:chir.rsLotte (it/its)/Cinny (she/her)yeah13:10:14
@522_:catgirl.cloud0x4fbb09 it/its β›―βœ‡Ξ˜Ξ”i assume "ifd is slow" isn't fundmental to the concept and is just an implementation thing13:10:33
@lotte:chir.rsLotte (it/its)/Cinny (she/her)yeah13:10:47
@lotte:chir.rsLotte (it/its)/Cinny (she/her)or racconfig uses IFDs to patch inputs13:10:55
@lotte:chir.rsLotte (it/its)/Cinny (she/her)it also used to use them to generate a stylix palette?13:11:11
@k900:0upti.meK900 IFD is only slow because it blocks everything else 13:13:03
@k900:0upti.meK900Which it absolutely does not have to do13:13:07
@piegames:flausch.socialpiegamesYou remind me of https://bartoszmilewski.com/2014/02/26/c17-i-see-a-monad-in-your-future/ :p13:54:32
@cyclopentane:aidoskyneen.eupentane β­”

yeah I've also already thought about how to model the evaluation/build process of Nix derivarions as a monadic data structure

basically you wanna have a monad like Derivation a, where a is the type of the value produced by the build of the derivation (currently, Nix derivations always produce files or directories, but theoretically nothing speaks against derivations producing strings, integers, etc as their build result too)

Derivation FileOrDirectory would then be equivalent to our current .drv files

14:21:10

Show newer messages


Back to Room ListRoom Version: 10