!9IQChSjwSHXPPWTa:lix.systems

Lix

1104 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-rooms295 Servers

Load older messages


SenderMessageTime
15 May 2024
@ff-vringar:mozilla.orgvringar * I mean, I have been lurking and also read a bunch of blogposts.
Started of with https://xeiaso.net/ and https://jade.fyi/blog/flakes-arent-real/ and this series by Amos
And then I was forced to set up a dev shell, because arch doesn't ship an LLVM that is matching the current Rust llvm, which is required by LibAFL QEMU.
So I first tried with docker, but found the mounting issues too annoying and set up my first flake, which was literally just creating a dev shell and installing a bunch of packages
20:35:09
@jade_:matrix.org@jade_:matrix.orgok noted that my blog post is very good :3 we should probably go Put It In The Docs when we get to that point20:35:50
@qyriad:katesiria.orgQyriadJade your blog post is literally the actual best single piece of writing on flakes we have seen so far20:36:28
@ff-vringar:mozilla.orgvringar
In reply to @emilytrau:matrix.org
actually you've come to the right place! 😅
desperately needs some dusting off but should do the trick https://github.com/emilytrau/nixpkgs/tree/ghidra-extensions
Then emily nerdsniped me into updating her POC and getting it into nixpkgs and for the last week I've had the nixpkgs/pkgs docs and the stdenv page I linked open, along with constantly searching nix doc <term I care about>
20:36:58
@jade_:matrix.org@jade_:matrix.org actually, asking for some nix support: when is lib.mkIf required in nixos? i am reviewing a PR and I think it is not required in a certain position. i know that it is deferring to deal with evaluation inflooping 20:37:03
@jade_:matrix.org@jade_:matrix.orgbut i think that's not a problem if you're just a leaf value rather than some attr set?20:37:22
@ff-vringar:mozilla.orgvringarAlso having this channel as a judgement free zone to ask questions was really helpful 😊20:37:45
@qyriad:katesiria.orgQyriadIt's not just to deal with infinite looping, but it is to deal with eval errors in general, is our understanding20:37:45
@jade_:matrix.org@jade_:matrix.org mkMerge [(mkIf ...)] is the specific pattern i see here, and it's just making a list 20:37:45
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)
In reply to @qyriad:katesiria.org
Jade your blog post is literally the actual best single piece of writing on flakes we have seen so far
it also was (and persists to be) something some people take every chance to quote despite him still using flakes :P
20:37:51
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)
In reply to @qyriad:katesiria.org
Jade your blog post is literally the actual best single piece of writing on flakes we have seen so far
* it also was (and persists to be) something some people take every chance to quote despite them still using flakes :P
20:37:56
@qyriad:katesiria.orgQyriad
In reply to@jade_:matrix.org
mkMerge [(mkIf ...)] is the specific pattern i see here, and it's just making a list
If it's just making a list, and if the values in that list don't depend on config. values, then that's probably equivalent to lib.optionalAttrs?
20:38:28
@ff-vringar:mozilla.orgvringar
In reply to @grimmauld:grimmauld.de
it also was (and persists to be) something some people take every chance to quote despite them still using flakes :P
:D I mean yeah, flakes are my way of ensuring that if I get something to work, I can commit it and keep iterating without fear
20:38:39
@jade_:matrix.org@jade_:matrix.org
In reply to @grimmauld:grimmauld.de
it also was (and persists to be) something some people take every chance to quote despite them still using flakes :P
it's SO funny that people think i hate flakes, when in fact, i do dislike flakes but use them every day lol
20:38:48
@qyriad:katesiria.orgQyriadWhich is basically the story of most of the Lix team's opinions on flakes lol20:39:16
@mjm:midna.devmjmi quote it to people to help them understand where flakes start and end, when they seem fundamentally confused about that20:39:17
@qyriad:katesiria.orgQyriadVery much20:39:28
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)
In reply to @jade_:matrix.org
it's SO funny that people think i hate flakes, when in fact, i do dislike flakes but use them every day lol
oh its a fair point to have, but it gets really funny and ironic at times
20:39:34
@jade_:matrix.org@jade_:matrix.orgyes, it's my fave way of making people stop thinking flakes are magic bullshit that they absolutely need all the time20:39:36
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)and then they say germans don't have humor20:39:40
@qyriad:katesiria.orgQyriad
In reply to@qyriad:katesiria.org
Very much
It does not help that outside of flakes Nix has like 4 different common entrypoint patterns
20:39:46
@mjm:midna.devmjm
In reply to @jade_:matrix.org
yes, it's my fave way of making people stop thinking flakes are magic bullshit that they absolutely need all the time
it's very good at communicating that, i think
20:40:00
@qyriad:katesiria.orgQyriad It's wild to see how many questions there are in the #flakes channel of the NixOS Matrix space that have absolutely nothing to do with flakes at all, the user in question just happens to be doing the thing in a flake and doesn't understand that there's no difference 20:41:04
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)wait thewre is a flakes channel? oh dear flying monster of sphagetti....20:41:43
@qyriad:katesiria.orgQyriadThough to be fair this problem is rather widespread in the ecosystem. There are lots of questions in the #nix-language channel that are not language questions at all, and likewise we see tons of people complaining that "the Nix language" is incredibly confusing or hard to read, and then go on to describe the NixOS Module system or the mkDerivation API, etc20:42:42
@samrose:matrix.orgsamroseFlakes hurt me, but I got over it20:44:55
@qyriad:katesiria.orgQyriadFlakes suck but no lockfile and no schema sucks more (most of the time)20:47:47
@mjm:midna.devmjmno lockfile is plenty easy to solve, no schema hurts tho20:48:14
@jade_:matrix.org@jade_:matrix.orgno schema really hurts yes20:48:31
@jade_:matrix.org@jade_:matrix.orgthat's the big thing i want to fix in a flakes replacement20:48:47

There are no newer messages yet.


Back to Room ListRoom Version: 10