drakonis has quit [Remote host closed the connection]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-chat
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-chat
<jD91mZM2>
I'm really bored. Would anybody be interested if I wrote a parser for Nix in rust?
<jD91mZM2>
Because that way we could then implement nix formatters, linters, whatever
<simpson>
There's already linting, though.
Sonarpulse has joined #nixos-chat
<simpson>
I think that my vim setup has reformatting/reindenting, but I haven't really played with it.
<jD91mZM2>
We could also do more complex things like `nix-env` that modifies the system config
<jD91mZM2>
But not a lot more than that I guess
obadz- has joined #nixos-chat
<simpson>
You can totally do this. Don't let me stop you from having a hobby project.
obadz has quit [Ping timeout: 246 seconds]
obadz- is now known as obadz
<jD91mZM2>
I mean it'd be useless to spend time on a parser that just ends up unused in the trash can
<jD91mZM2>
Which is why I'm asking for opinions
<simpson>
Most software is useless and most time is wasted. Don't worry too much about it.
<simpson>
If you're bored and want to contribute to Nix, help clean up nixpkgs.
<simpson>
There's lots of issues, or you can find your own interesting things to work on.
<jD91mZM2>
That sounds more sane, I'll do that
Sonarpulse has quit [Remote host closed the connection]
<jD91mZM2>
The annoying thing is that most issues are related to a specific program that I haven't ever used and will never use
<simpson>
Oh, sure, don't work on stuff that doesn't motivate you.
Lisanna has quit [Quit: Lisanna]
<sphalerite>
jD91mZM2: one big win you may be interested in (you're quite into fairly low-level stuff, right?) is the issue "Link to libraries through absolute paths?". Basically loading executables is currently O(n^2) complex on the number of dependencies. I was going to have a look at it myself soon, but if you want to take it over you're welcome to :)
<sphalerite>
There's a glibc fix that's not in any currently released version (will be in 2.28) which is needed for setting the SONAME to an absolute path for all libraries to work correctly, but it should hopefully be possible to backport it
<sphalerite>
thing with this issue is because it's at the root of the dependency tree it means rebuilding the world
<sphalerite>
As for a rust nix parser, I think someone else has started that before. I think hnix (in haskell) looks like the most promising thing for developing tools for working with nix currently.
<jD91mZM2>
Nice, thanks for the suggestion1
<jD91mZM2>
!*
<jD91mZM2>
sphalerite: So basically once they release their fix it's just a matter of replacing the rpath magic with soname magic?
<jD91mZM2>
The issue mentions libglvnd. Are we using that yet?
zybell_ has quit [Ping timeout: 268 seconds]
zybell_ has joined #nixos-chat
MichaelRaskin has quit [Quit: MichaelRaskin]
<sphalerite>
jD91mZM2: not replacing it, just supplementing it. The RUNPATH will still be useful for libraries loaded through libdl
<sphalerite>
so it will take the absolute-path shortcut for DT_NEEDED entries in the executable/library's dynamic section, but still search the full RUNPATH when the application wants to load stuff itself, since we can't alter that behaviour in a generic way
<sphalerite>
and no, I don't think we're using glvnd yet
<jD91mZM2>
sphalerite: Aha, so if anything would fail using the new system it'd just fall back to the current one?
jD91mZM2 has quit [Quit: WeeChat 2.0]
jD91mZM2 has joined #nixos-chat
<jD91mZM2>
guix
<jD91mZM2>
whoops, meant to /join
<lassulus>
heretic!
<lassulus>
;)
<sphalerite>
jD91mZM2: I'm very on-and-off today as you can probably tell :p
<sphalerite>
not so much "if anything fails" as "anything that's not covered by the change"
<jD91mZM2>
sphalerite: on-and-off as in relogging a lot? I've actually been gone the whole day sadly (darn vacations!1), so I haven't noticed
<sphalerite>
jD91mZM2: as in I write a message then disappear for several hours
<jD91mZM2>
Same here I think
<sphalerite>
how can I disable graphical consoles?
<jD91mZM2>
Like, TTYs?
<jD91mZM2>
Stop the getty service I think
<jD91mZM2>
You can disable it using `services.units.serial-tty@ttyS<num>.enable = false` where <num> is the number
<jD91mZM2>
(I think)
<sphalerite>
no, I want it to not switch from the BIOS console to fbcon
<sphalerite>
oops, I was asking in the wrong channel, heh. Anyway it seems the answer is systemd.services.systemd-vconsole-setup.enable = false;
<jD91mZM2>
Wow okay I just wasted so much time trying to add a packag
<jD91mZM2>
package*
<jD91mZM2>
and then I see that somebody else did it 4 days ago
<jD91mZM2>
RIP my day
<jD91mZM2>
MFW when the error that prevented my thing from working still exists
<jD91mZM2>
Even with a package that should be working
<jD91mZM2>
what is this madness
Sonarpulse has joined #nixos-chat
<gchristensen>
I propose Nix automatically consider `optimisation` vs. `optimization` and other s/z words the same in attributes
<jD91mZM2>
that ^
<samueldr>
for messages or for switches/arguments?
<gchristensen>
all of them
<gchristensen>
because I use s vs. z interchangably now
obadz- has joined #nixos-chat
* gchristensen
waves to obads
obadz has quit [Ping timeout: 250 seconds]
obadz- is now known as obadz
MichaelRaskin has joined #nixos-chat
<sphalerite>
gchristensen: an excellent zuggeztion
<gchristensen>
obadz: I might be out your way in a couple months
<obadz>
gchristensen: yes!
<obadz>
dates?
<gchristensen>
I don't have anything more specific right now :)
<obadz>
k. I'm sure zimbatm & kumbunterland will happily set up a meet-up in your honor :) Have you thought about what you'd present :') Maybe ofborg?
<gchristensen>
I'd probably need to add some new features for a presentation
<gchristensen>
(not that it is hard to imagine new features)
<obadz>
I'd say the existing features would more than fill up a talk
<obadz>
You could talk about Rust and we could have a joint meet-up with the Rust guys :)
<obadz>
(They're always there same time as us)
<zimbatm>
Agreed with Obadz, presenting what you did with ofborg, then challenges, what you need help with, .. there is already good material for a talk
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos-chat
infinisil has quit [Client Quit]
infinisil has joined #nixos-chat
<infinisil>
Why the hell am I banned from #zfsonlinux :(
<infinisil>
I did at one point have some server problems that forced me to restart it a couple times (and znc along with it), but that's long been fixed