| 10 Sep 2024 |
common16 | And also set my SSH_AUTH_SOCK env var (all within my programs.fish.shellInit) | 05:22:12 |
K900 | Set SSHAUTHSOCK to what though? | 05:22:21 |
K900 | Set SSH_AUTH_SOCK to what though? | 05:22:24 |
common16 | set -l latest_socket (ls -t /tmp/ssh-/agent. | head -n 1) set -gx SSH_AUTH_SOCK $latest_socket | 05:23:15 |
K900 | That means something is spawning an ssh-agent | 05:23:24 |
K900 | Because that file should not exist if there's no SSH agent running | 05:23:35 |
K900 | So you should figure out what is actually spawning it | 05:23:42 |
common16 | Hm... I'm not sure how to find out where since I've been doing everything from this flake file | 05:23:52 |
K900 | Well you could start by checking htop | 05:25:44 |
K900 | And seeing if there are any ssh-agent processes | 05:25:55 |
K900 | And what their parent process is | 05:25:58 |
common16 | When I look for ssh I can see:
ssh-aggent /nix/store/78mv13w9mgh0 nixos | 05:26:24 |
common16 | Something in my userspace(?) created it it seems like | 05:26:39 |
K900 | Switch to a tree view and look at what its parent process is | 05:26:46 |
common16 | I'm seeing it under /init and the /nix/store also has -openssh-9.7p1/bin/ssh-agent | 05:28:18 |
K900 | So something has spawned it and exited, presumably | 05:28:32 |
K900 | Do you have any other references to ssh-agent in your shell config? | 05:28:49 |
common16 | Nope that's the only one | 05:29:15 |
K900 | I wonder if it's some git for windows thing or something | 05:29:43 |
common16 | That's what I'm kinda wondering (if it's a part of the WSL "magic" / package) | 05:31:05 |
K900 | Definitely not WSL | 05:31:29 |
common16 | Ya I'm not sure. This is what my flake.nix currently looks like: http://pastie.org/p/2V3Z4qaIkpK0DxRJqtVpfU | 05:36:32 |
Simon Yde | In reply to @k900:0upti.me ^ do this Hi. currently I find that my WSL system won't build at all, it when I try to rebuild either home-manager or my system config it results in an infinite loop. I tried following this step but it doesn't seem to have an effect | 09:32:37 |
K900 | What do you mean by "infinite loop" exactly? | 09:34:30 |
Simon Yde | like the build never finishes. Normally i use nh to interact with nix, but doing sudo nixos-rebuild switch --flake . doesn't work either, just never progresses | 09:37:36 |
K900 | That sounds weird | 09:41:01 |
K900 | Which Nix version is that on? | 09:41:04 |
K900 | And how long does it get stuck for | 09:41:09 |
Simon Yde | it's strange as i haven't changed my nixos config for this system, yet the nix evaluation never finishes | 09:41:33 |
Simon Yde | In reply to @k900:0upti.me And how long does it get stuck for like one time I left it to see how long it would go and it just went on evaluating for 25 mins+ | 09:47:25 |