11 Jul 2025 |
szlend | just makes me uncomfortable that we'd potentially have two paths people go (assuming they don't migrate) | 11:09:03 |
szlend | case sensitivity obviously being a huge impurity | 11:09:14 |
Randy Eckenrode | Reinstalling could involve rebuilds, which would be annoying. | 11:09:20 |
emily | I think for Lix the migration would become mandatory at some point, because they want use-case-hack to die, because it's awful/broken | 11:10:19 |
szlend | and potentially some paths not installable at all? | 11:10:29 |
emily | so one release you'll get it warning you hey run this migration tool and in the future it'll complain about your volume being case-insensitive and bail out | 11:10:44 |
szlend | yeah makes sense | 11:11:41 |
emily | but, FWIW installers have let you ask for a case-sensitive volume for years now | 11:11:50 |
emily | they just haven't done any setup to make that actually useful | 11:11:56 |
emily | so there is already some bifurcation of the ecosystem | 11:12:01 |
prince213 | Any idea why nix build can't connect to remote but sudo nix build could? | 13:58:50 |
prince213 | * Any idea why nix build can't connect to remote builder but sudo nix build could? | 13:59:06 |
emily | SSH keys | 13:59:49 |
prince213 | I thought nix will read /var/root/.ssh/config? | 14:00:19 |
prince213 | Also nix-daemon does this so it shouldn't matter whether I use sudo or not? | 14:01:03 |
emily | I forget exactly how it's wired up. are you a trusted-user ? | 14:03:32 |
prince213 | Yes | 14:03:38 |
emily | also, sudo nix will use NIX_REMOTE=local by default | 14:03:42 |
emily | rather than talking to the daemon | 14:03:45 |
emily | which is cursed | 14:03:48 |
prince213 | So what does that mean | 14:04:56 |
prince213 | Why don't we have that set to daemon by default | 14:06:07 |
Zhaofeng Li | There's also known_hosts, and you probably need to sudo ssh once to get the host added | 14:06:15 |
prince213 | Did both, andnix store info doesn't work, but sudo nix store info does. | 14:09:19 |
prince213 | * Did both, and nix store info doesn't work, but sudo nix store info does. | 14:09:23 |
prince213 | I think this part is normal though | 14:09:44 |
Randy Eckenrode | If you’re doing it as your user, wouldn’t Nix be reading your user’s SSH config not root’s? | 14:10:47 |
prince213 | So if I do env NIX_REMOTE=daemon sudo --preserve-env=NIX_REMOTE nix build then it will also fail | 14:10:53 |
prince213 | Remote builds are done by the daemon so it reads root's config. | 14:11:28 |
Zhaofeng Li | Hmm weird, probably need to stick a bunch of -vvvv and pray that it tells you something useful | 14:11:43 |