!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

332 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
10 Sep 2024
@k900:0upti.meK900And seeing if there are any ssh-agent processes05:25:55
@k900:0upti.meK900And what their parent process is05:25:58
@common16:matrix.orgcommon16When I look for ssh I can see: ssh-aggent /nix/store/78mv13w9mgh0 nixos05:26:24
@common16:matrix.orgcommon16Something in my userspace(?) created it it seems like05:26:39
@k900:0upti.meK900Switch to a tree view and look at what its parent process is05:26:46
@common16:matrix.orgcommon16I'm seeing it under /init and the /nix/store also has -openssh-9.7p1/bin/ssh-agent05:28:18
@k900:0upti.meK900So something has spawned it and exited, presumably05:28:32
@k900:0upti.meK900Do you have any other references to ssh-agent in your shell config?05:28:49
@common16:matrix.orgcommon16Nope that's the only one05:29:15
@k900:0upti.meK900I wonder if it's some git for windows thing or something05:29:43
@common16:matrix.orgcommon16That's what I'm kinda wondering (if it's a part of the WSL "magic" / package)05:31:05
@k900:0upti.meK900Definitely not WSL05:31:29
@common16:matrix.orgcommon16Ya I'm not sure. This is what my flake.nix currently looks like: http://pastie.org/p/2V3Z4qaIkpK0DxRJqtVpfU05:36:32
@simonyde:matrix.orgSimon 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:0upti.meK900What do you mean by "infinite loop" exactly?09:34:30
@simonyde:matrix.orgSimon 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:0upti.meK900That sounds weird09:41:01
@k900:0upti.meK900Which Nix version is that on?09:41:04
@k900:0upti.meK900And how long does it get stuck for09:41:09
@simonyde:matrix.orgSimon Ydeit's strange as i haven't changed my nixos config for this system, yet the nix evaluation never finishes09:41:33
@simonyde:matrix.orgSimon 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
@simonyde:matrix.orgSimon Yde
In reply to @k900:0upti.me
Which Nix version is that on?
⟩ nix --version
nix (Nix) 2.18.5
09:47:56
@k900:0upti.meK900 Try running it with -vvvv to see what it's doing 09:48:05
@simonyde:matrix.orgSimon Yde
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.fEZKNm/nixos-rebuild .#nixosConfigurations."icarus-wsl".config.system.build.nixos-rebuild -vvvv
evaluating derivation 'git+file:///home/syde/Config#nixosConfigurations."icarus-wsl".config.system.build.nixos-rebuild'
09:55:39
@simonyde:matrix.orgSimon Ydethis is all that ever happens it would appear09:55:55
@k900:0upti.meK900That... sounds wrong09:57:24
@k900:0upti.meK900Maybe try evaluating it with a newer Nix version or Lix?09:58:27
@arexon:matrix.org@arexon:matrix.org left the room.10:15:13
@simonyde:matrix.orgSimon Yde

evaluating withnix eval on a different computer running NixOS

trace: evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
performing daemon worker op: 7
instantiated 'bootstrap-stage0-stdenv-linux' -> '/nix/store/y3vwfd67h193ynxz98jwn3gd81vblacb-bootstrap-stage0-stdenv-linux.drv'
performing daemon worker op: 7
instantiated 'stdenv-test-succeedOnFailure' -> '/nix/store/8bxfynjfm1l82438dig1fvr6v4g4d6ph-stdenv-test-succeedOnFailure.drv'
trace: evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
performing daemon worker op: 7
instantiated 'bootstrap-stage0-stdenv-linux' -> '/nix/store/y3vwfd67h193ynxz98jwn3gd81vblacb-bootstrap-stage0-stdenv-linux.drv'
performing daemon worker op: 7
instantiated 'stdenv-test-succeedOnFailure' -> '/nix/store/8bxfynjfm1l82438dig1fvr6v4g4d6ph-stdenv-test-succeedOnFailure.drv'
trace: evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
performing daemon worker op: 7
instantiated 'bootstrap-stage0-stdenv-linux' -> '/nix/store/y3vwfd67h193ynxz98jwn3gd81vblacb-bootstrap-stage0-stdenv-linux.drv'
performing daemon worker op: 7
instantiated 'stdenv-test-succeedOnFailure' -> '/nix/store/8bxfynjfm1l82438dig1fvr6v4g4d6ph-stdenv-test-succeedOnFailure.drv'
trace: evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
performing daemon worker op: 7
instantiated 'bootstrap-stage0-stdenv-linux' -> '/nix/store/y3vwfd67h193ynxz98jwn3gd81vblacb-bootstrap-stage0-stdenv-linux.drv'
performing daemon worker op: 7
instantiated 'stdenv-test-succeedOnFailure' -> '/nix/store/8bxfynjfm1l82438dig1fvr6v4g4d6ph-stdenv-test-succeedOnFailure.drv'
trace: evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
performing daemon worker op: 7
instantiated 'bootstrap-stage0-stdenv-linux' -> '/nix/store/y3vwfd67h193ynxz98jwn3gd81vblacb-bootstrap-stage0-stdenv-linux.drv'
performing daemon worker op: 7
instantiated 'stdenv-test-succeedOnFailure' -> '/nix/store/8bxfynjfm1l82438dig1fvr6v4g4d6ph-stdenv-test-succeedOnFailure.drv'
trace: evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
error: stack overflow (possible infinite recursion)
11:24:59
@k900:0upti.meK900That sounds very wrong11:25:32

Show newer messages


Back to Room ListRoom Version: 9