2020-09-09

<{^_^}> [nixpkgs] @zookatron opened pull request #97580 → [20.09] csvkit: fix failing test → https://git.io/JUc7R
<{^_^}> [nixpkgs] @jonringer pushed commit from @zookatron to master « csvkit: fix failing test »: https://git.io/JUc9V
<{^_^}> [nixpkgs] @zookatron opened pull request #97569 → csvkit: fix failing test → https://git.io/JUcSQ

2020-06-17

<{^_^}> [nixpkgs] @zookatron opened pull request #90685 → sublime-merge: askpass bug fix → https://git.io/Jfdgn

2019-04-05

<{^_^}> [nixpkgs] @zookatron opened pull request #58994 → sublime-merge: init at 1107 → https://git.io/fjLW5

2019-03-27

<zookatron> That's what it seemed like looking at the docs and forum discussions, it's pretty suprising to me that I seem to be having an issue like this in such a standard PC setup.
<srhb> zookatron: I certainly hope you succeed. fwiw these kinds of troubles are really rare. :)
<zookatron> srhb: Haha yeah, I guess it can't hurt to try with a different USB just to be sure. Thanks for all your help though! Hopefully I'll be able to get it fixed soon, I'm looking forward to trying out NixOS for more everyday use :)
<srhb> zookatron: Welp. At this point I am all out of ideas. I can hand-wave "faulty usb drive" or something, but it's a super bizarre error to me...
<zookatron> srhb: Ok, pkill nix-daemon worked, looks like the daemon was restarted properly after that too. I checked 'nix show-config | grep "sandbox ="' and it gives me "sandbox = false". Then tried nixos-install and it's still giving me the same error unfortunately!
<srhb> zookatron: Also, can you confirm that `nix show-config | grep "sandbox =" says false?
<srhb> zookatron: If pkill exists in the installer, I forget. :P
<srhb> zookatron: Should do the trick..
<srhb> zookatron: pkill nix-daemon
<zookatron> Yes, same exact error. What'sthe best way to kill and restart the nix daemon?
<srhb> zookatron: i think the warnings are fine in the installer switch
<srhb> zookatron: No dice as in same error when using nixos-install? Can you try killing the nix daemon and trying again?
<zookatron> srhb: Hmm, no dice. Though there were some cryptic errors when running the 'nixos-rebuild switch' and I'm not sure if they were important or not. https://hastebin.com/gunetememu
<srhb> zookatron: (I'm assuming here that the sandbox setting for the install process is carried over from the running nix-daemon in the installer, hence the roundabout way of doing it)
<srhb> zookatron: /etc/nixos/configuration.nix -- it's read only so you'll have to chmod/force write to it. Yes to the rest. :)
<zookatron> srhb: I'm happy to try it out, do you know where the installer's configuration.nix is located? Do I just need to add that line, run "nixos-rebuild switch", and then run "nixos-install" again?
<srhb> zookatron: You would have to set it in the installer's configuration.nix (not the /mnt one) and nixos-rebuild switch, I believe. But I'm grasping at straws, sorry. might be better to wait for someone who has a better idea (though it should be safe, I'm just worried I'm wasting your time) :)
<zookatron> srhb: nix.useSandbox = false; in the configuration.nix?
<srhb> zookatron: You might be able to get past this issue by disabing the sandbox, but that doesn't explain much...
<zookatron> srhb: The output with nix build -vvv is here: https://hastebin.com/abuverakat Though I can't seem to determine much from it. Even with -vvv it doesn't seem to give us the command it's running that's failing
<srhb> zookatron: Shot in the dark ideas are things like: oom condition causing surprising permission errors, but honestly I don't find it super likely... so yeah, more debug output I guess.
<srhb> zookatron: Ah, good. I've tested the installer on the commit you have now, and I've honestly no idea how to reproduce it..
<zookatron> srhb: No need to apologize, I apreciate you taking the time to look at my problem! :)
<zookatron> srhb: Ah yes, oxij said to do something like that in the discourse thread to get the output of nixos-install which I did, but I will also try adding -vvv to the nix build, that sounds like it could shed some light on what it's doing
<srhb> zookatron: I've never seen something like this before, so I'm a bit puzzled, sorry.
<srhb> zookatron: I'm afraid you're probably going to have to copy out the nixos-install script and throw -vvv at the "nix build" command
<srhb> zookatron: I see nothing suspect there..
<zookatron> srhb: The hardware-configuration.nix is here: https://hastebin.com/ocajisonuh.cpp I've checked it and it appears to be resolving the right drive UUIDs and I don't see any obvious issues with any of the other options
<zookatron> srhb: The output of cat /proc/mounts on the Live CD system I'm trying to install from is here: https://hastebin.com/pesodujohe.coffeescript
<srhb> zookatron: I read it, I was just wondering whether we could do a skim of the output of eg. mount to try and spot any mistakes. Nothing springs to mind from the information so far.
<zookatron> Someone in the discourse thread just asked for the hardware-configuration.nix it's generating so I'm working on getting that
<zookatron> srhb: More information about my system is described more in that link I posted if you want to reference that. But my partitions are a 16GB ext4 partition and a 512MB FAT32 boot partition.
<srhb> zookatron: Like, is the partition that will contain /nix an uncommon type or something?
<srhb> zookatron: I'm not sure what's going on. Information that might be useful: Partitioning scheme, mount information
<srhb> zookatron: Hm!
<zookatron> srhb: No, it's a regular desktop PC, no virtualization or anything
<zookatron> Do you mean on what storage device, or on what linux distro?
<srhb> zookatron: On what are you installing?
<zookatron> Anyone have any tips on how I could debug what's going wrong here? More details on my situation here: https://discourse.nixos.org/t/unable-to-nixos-install-from-live-cd/2533
<zookatron> Hi guys, I'm trying to install NixOS using the Live CD following the instructions in the NixOS manual, but I'm running into a permissions error when I try to run nixos-install: error: while setting up the build environment: unable to bind mount '/mnt/nix/store/85d8y2vybq07al01j7zv518yf3fa9mwq-append-initrd-secrets.drv.chroot': Permission denied