!UUqahLbShAYkkrXmKs:matrix.org

DevOS

33 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
30 Jul 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) I'd rather be an enabler than a fixer. 16:52:32
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.org
In reply to @blaggacao:matrix.org
Gytis Ivaskevicius has made a PR to nix to eventually improve that situation.
if you are talking about builtins.debug - dont expect it to get merged :D
16:53:20
@timdeh:matrix.org@timdeh:matrix.org d4hines: hopefully our little Nix debugging venting session is useful for your future endeavors 😛 16:57:56
@d4hines:matrix.org@d4hines:matrix.orgYeah, this looks like helpful info but I don't have the context to place it yet16:58:18
@blaggacao:matrix.orgDavid Arnold (blaggacao) I think another journyman status standard move is rg 'someThingThatINeedToUnderstand =' <path to nixpkgs> 16:59:45
@blaggacao:matrix.orgDavid Arnold (blaggacao) * I think another journeyman status standard move is rg 'someThingThatINeedToUnderstand =' <path to nixpkgs> 17:00:08
@blaggacao:matrix.orgDavid Arnold (blaggacao) * I think another journeyman status standard move is rg 'someThingThatINeedToUnderstand =' <path to nixpkgs> (but there might be an improved version of that move?) 17:00:34
@blaggacao:matrix.orgDavid Arnold (blaggacao) * I think another journeyman status standard move is rg -A 3 'someThingThatINeedToUnderstand =' <path to nixpkgs> (but there might be an improved version of that move?) 17:00:55
@blaggacao:matrix.orgDavid Arnold (blaggacao) * I think another journeyman status standard move is rg -C 3 'someThingThatINeedToUnderstand =' <path to nixpkgs> (but there might be an improved version of that move?) 17:01:03
@timdeh:matrix.org@timdeh:matrix.org I use that one quite a bit as well, don't think there is a better one except maybe manix? 17:03:26
@timdeh:matrix.org@timdeh:matrix.orgWhich reminds me, one of our colleagues recently spruced up the old manix integrated fork of rnix-lsp if it's useful to anyone: https://github.com/kreisys/rnix-lsp17:08:15
@yusdacra:nixos.dev@yusdacra:nixos.dev
In reply to @timdeh:matrix.org
I use that one quite a bit as well, don't think there is a better one except maybe manix?
Using manix with skim / fzf is quite nice
17:11:50
@timdeh:matrix.org@timdeh:matrix.orgyeah but it doesn't always seem to find everything I'm looking for unfortunately, but otherwise I agree completely 17:35:02
@kraftnix:matrix.org@kraftnix:matrix.org speaking of debugging bud repl has been definitely increased my debugging speed 18:48:57
@kraftnix:matrix.org@kraftnix:matrix.org on another topic, since we include earlyoom by default in the devos core profile. does anyone here you ZFS, i am using ZFS on root and constantly getting bitten by earlyoom not working with ZFS arc (see https://github.com/rfjakob/earlyoom/pull/191). does anyone have a workaround? my current workaround is migrating all my systems from zfs on root to btrfs on root... 18:51:13
@kraftnix:matrix.org@kraftnix:matrix.org * on another topic, since we include earlyoom by default in the devos core profile. does anyone here use ZFS, i am using ZFS on root and constantly getting bitten by earlyoom not working with ZFS arc (see https://github.com/rfjakob/earlyoom/pull/191). does anyone have a workaround? my current workaround is migrating all my systems from zfs on root to btrfs on root... 18:51:29
@kraftnix:matrix.org@kraftnix:matrix.orgit's really sad watching my 128GB RAM workstation kill my qemu VMs because earlyoom doesn't interact with ZFS ARC :(18:56:25
@d4hines:matrix.org@d4hines:matrix.orgOn the topic of escape hatches and onborading, do you think I could get a lot of the benefit of devos by basically using it as a way of interacting with home-manager on, say, an Arch linux installation?21:18:58
@d4hines:matrix.org@d4hines:matrix.orgThat way I can always fall back to the native package manager and my teammates are never waiting on me to figure out Nix.21:19:47
@kraftnix:matrix.org@kraftnix:matrix.orgi've been thinking about that as a way to introduce nixos to some friends tbh21:19:55
@kraftnix:matrix.org@kraftnix:matrix.orgimagine pointing at a devos community profile and saying, install arch, install nix, run this and checkout this cool home-manager profile with my vim/tmux/fzf setup21:20:36
@kraftnix:matrix.org@kraftnix:matrix.orgimho devos is such a nice experience to start nix, especially if you're not doing anything too complex / can work off other peoples profiles21:21:35
@d4hines:matrix.org@d4hines:matrix.orgI think I'll give this a shot. I'll be sad to lose out on the deep system-level declarations, but after talking with my tech lead about it, I'm just not strong enough in Nix/Linux/our toolchain to be certain I can always keep up. Using just the home-manager part might be a nice compromise.21:23:42
@kraftnix:matrix.org@kraftnix:matrix.orgyeah, for shell related stuff it seems like a good way, but tbh i'm not sure how i would integrate my GDM/sway etc. setup into arch nicely, although maybe it won't be as hard as i'm thinking21:26:01
@kraftnix:matrix.org@kraftnix:matrix.org anyway on another topic, has anyone had issues with nix flake check when you have a lot of hosts? I've found the python vm test coredumping more as I've added more hosts (and will just pass if I rerun the twice with half the hosts each), systemd-coredump points to the pid of one of the python tests and contains systemd-coredump[134485]: Resource limits disable core dumping for process 123011 (python3). 21:31:15
@kraftnix:matrix.org@kraftnix:matrix.org *

anyway on another topic, has anyone had issues with nix flake check when you have a lot of hosts? I've found the python vm test coredumping more as I've added more hosts (and will just pass if I rerun them twice with half the hosts each), systemd-coredump points to the pid of one of the python tests and contains systemd-coredump[134485]: Resource limits disable core dumping for process 123011 (python3).

i'm guessing theres some resource limits, but i'm not sure where they might be of for what service (perhaps nix daemon)?

21:32:36
@kraftnix:matrix.org@kraftnix:matrix.org *

anyway on another topic, has anyone had issues with nix flake check when you have a lot of hosts? I've found the python vm test coredumping more as I've added more hosts (and will just pass if I rerun them twice with half the hosts each), systemd-coredump points to the pid of one of the python tests and contains systemd-coredump[134485]: Resource limits disable core dumping for process 123011 (python3).

i'm guessing theres some resource limits, but i'm not sure where they might be or for what service (perhaps nix daemon)?

21:32:47
@gtrunsec:matrix.org@gtrunsec:matrix.orgimage.png
Download image.png
22:03:27
@kraftnix:matrix.org@kraftnix:matrix.org hmm, that's per vm-test though right? for me it's the digga profilesTest that is failing, i can run them in isolation or a couple at a time but not all of them (non-deterministically failing), i can actually run them all sometimes. 22:05:56
@kraftnix:matrix.org@kraftnix:matrix.org

In terms of overall system usage, I have many 10s of GB RAM free and no
noticeable strain on CPU or anything. I've been continuously running
tests (with minor changes to ensure all systems rebuild everytime + non-cached) and it's quite non-deterministic :(

I'm starting to think it could be the test-driver.py, I see it using exec() and join() which are red flags to me from some python multiprocessing i've done

22:15:03

Show newer messages


Back to Room ListRoom Version: 6