!9IQChSjwSHXPPWTa:lix.systems

Lix

1110 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-rooms298 Servers

Load older messages


SenderMessageTime
11 Dec 2025
@bandithedoge:matrix.orgbandithedogeflake-parts is good though13:55:08
@teoc:matrix.orgteo (they/he)it encourages people to use flakes though which is bad15:05:49
@neobrain:matrix.orgneobrainWhat do people like about flake-parts? Saw it mentioned a couple of times, but I find it difficult to extract anything meaningful out of their docs. The perSystem stuff seems like a nice (if easily replaceable) utility, and besides that the docs mention modularity but then never actually explain what's different from vanilla flakes.15:22:09
@neobrain:matrix.orgneobrain* Why do people actually use flake-parts? Saw it mentioned a couple of times, but I find it difficult to extract anything meaningful out of their docs. The perSystem stuff seems like a nice (if easily replaceable) utility, and besides that the docs mention modularity but then never actually explain what's different from vanilla flakes.15:23:42
@leona:leona.isleona you can actually spread outputs over multiple files with imports = [ ... ] which is way more complicated in raw flakes 15:33:36
@leona:leona.isleona (you can achieve similar with e.g. lib.evalModules but that's more complex for my brain at least) 15:34:50
@neobrain:matrix.orgneobrain Is imports specific to flake-parts? 15:41:15
@neobrain:matrix.orgneobrain * Is imports specific to flake-parts?
I think I only used it when defining my Colmena hive, so I assumed it's a general nix thing
15:42:03
@neobrain:matrix.orgneobrain * Is imports specific to flake-parts?
I think I only used it when defining my Colmena hive, so I assumed it's a general nix thing since I didn't need to pull in flake-parts explicitly
15:42:22
@bandithedoge:matrix.orgbandithedogethe module system feels natural to anyone who's used nixos or home-manager17:04:28
@bandithedoge:matrix.orgbandithedogeand it actually feels like a specification with type checking instead of flake weirdness17:06:20
@bandithedoge:matrix.orgbandithedoge pretty sure it's part of lib.evalModules 17:06:47
@saiko:knifepoint.netKatalin πŸ”ͺit is17:37:18
@saiko:knifepoint.netKatalin πŸ”ͺone of recent projects I used bare evalModules and it’s pretty nice17:39:00
@saiko:knifepoint.netKatalin πŸ”ͺto build the flake outputs, that is17:39:31
@bandithedoge:matrix.orgbandithedogehonestly i'd love if nixpkgs had a single function that makes flakes module-based17:43:42
@aloisw:julia0815.dealoisw
In reply to @jappie:jappie.dev
srid has 1 1-line commit in flake-parts as far as I can see πŸ’€
https://github.com/hercules-ci/flake-parts/commit/34884706608919433ac07f09da18b32f6fde5dae
shlevy has more though.
19:15:31
@hexa:lossy.networkhexawas only temp-banned iirc19:18:08
@hexa:lossy.networkhexahttps://github.com/NixOS/nix/pull/1475319:19:11
@hexa:lossy.networkhexacan't wait until this trickles down from https://github.com/DeterminateSystems/nix-src/pull/29119:19:35
@aloisw:julia0815.dealoiswThat gotta be a troll using LLM to generate the code, right?19:26:57
@kfears:matrix.orgKFears (burnt out)Ronathan Jinger lmao19:27:35
@hexa:lossy.networkhexaPer Twitter conversation, no.19:28:08
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingimage.png
Download image.png
19:41:28
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping just a single question: why 19:41:33
@charles:computer.surgeryCharles identifiers can contain - and cannot start with a number 19:44:33
@neobrain:matrix.orgneobrainoh, that's an interesting perk. I'll have to try and see if I can find any good resources on it19:46:44
@charles:computer.surgeryCharles what's not clear to me though is how to actually reference the value contained in the variable "1-a" 19:46:53
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping "and cannot start with a number"
if you look closely: "1-a" = 0 worked :D
19:49:04
@rosssmyth:matrix.orgrosssmythimage.png
Download image.png
19:49:08

Show newer messages


Back to Room ListRoom Version: 10