You are not logged in.
Hi,
I noticed very strange behavior. Both `nix build` and even `archlinux-nix bootstrap` cause my session to terminate after about 10-20 seconds.
When running in terminal window, I get kicked out to GDM.
When running from text console, I get back to empty login screen.
There's no trace of anything either in `dmesg` or `journalctl` output. When watched by `top`, the memory usage stays low until the crash
How could I even investigate it?
Otherwise, the hardware causes no problems in everyday use. I also keep to work on periodically updated system, not older than a month.
Offline
There are three choices for a Nix installation, one is supported by Arch Linux, the next officially supported by Nix, and the last not being supported at all.
Which of those 3 methods ( repo package, nix install script, aur package) are you using ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I had `archlinux-nix` installed, however I've already cleaned all the stuff and will try today with `nix` repo package only.
Offline
I tried with `nix` and failed on the channel update:
$ nix-channel --update
unpacking channels...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
while setting up the build environment: executing '/usr/bin/bash': No such file or directory
builder for '/nix/store/xiisqyswdwaf0msxnigf2bj3ph40li0q-nixpkgs-21.11pre318361.a3a23d9599b.drv' failed with exit code 1
error: build of '/nix/store/xiisqyswdwaf0msxnigf2bj3ph40li0q-nixpkgs-21.11pre318361.a3a23d9599b.drv' failed
error: program '/usr/bin/nix-env' failed with exit code 100
I had finally to install `archlinux-nix` and bootstrap from there, but this time it did not crash.
Offline