| 7 Mar 2024 |
@jade_:matrix.org | we should fix it | 17:44:32 |
Eli Flanagan | hmm. What path does prefix refer to here? | 17:48:40 |
@jade_:matrix.org | In reply to @efx:matrix.org hmm. What path does prefix refer to here? --prefix passed to configure | 17:52:03 |
@jade_:matrix.org | when building the program | 17:52:11 |
danielsidhion | It's defined in a previous page when installing from source: https://nixos.org/manual/nix/stable/installation/building-source | 17:52:14 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org we should fix it Perhaps off-topic to #docs:nixos.org but what would you imagine a fix would be? | 17:52:28 |
@jade_:matrix.org | In reply to @philiptaron:matrix.org Perhaps off-topic to #docs:nixos.org but what would you imagine a fix would be? unsure. i think the rc file isn't read at all, yeah? then i think some sshd config drop in ought to be added to the installer unless you have better ideas | 17:53:17 |
Eli Flanagan | ah, makes sense. Thanks for the context folks! | 17:54:27 |
danielsidhion | In reply to @efx:matrix.org ooh, thanks for that link! I had not seen that before. My immediate context was trying nix copy to ssh://myhost myclosure. I searched discourse, then started digging in the stable reference manual. By stable reference manual do you mean the nixpkgs manual? Just want to be sure, because we have 3 "big manuals", one for nix, one for nixos, and another for nixpkgs | 17:55:32 |
Eli Flanagan | In reply to @danielsidhion:nixos.dev By stable reference manual do you mean the nixpkgs manual? Just want to be sure, because we have 3 "big manuals", one for nix, one for nixos, and another for nixpkgs good question! my "search the docs" tends to round robin those. Lately I've trying to stick to the nix stable manual. Though I'll read nix unstable manual as I assume unstable may have more accurate documentation. | 17:56:58 |
Eli Flanagan | Perhaps we mention a workaround to this issue here https://nix.dev/guides/troubleshooting? | 18:02:09 |
Eli Flanagan | I began this quest with nix-store command not found error messages when I started trying nix copy. | 18:02:51 |
@jade_:matrix.org | In reply to @efx:matrix.org Perhaps we mention a workaround to this issue here https://nix.dev/guides/troubleshooting? imo the software should either fix the bug or admit to the bug and link to a help page | 18:03:28 |
@jade_:matrix.org | which links to bug reports say | 18:03:37 |
@jade_:matrix.org | change the error message to tell you a Web site that says how to fix it | 18:04:09 |
Eli Flanagan | That would be nice! that would be a patch to nix ? | 18:04:37 |
@jade_:matrix.org | yeah | 18:08:48 |
@jade_:matrix.org | trivial uncontroversial patches like that one will be merged very promptly | 18:09:23 |
Eli Flanagan | I read through the GitHub links and found this open PR that tried to add an error message: https://github.com/NixOS/nix/pull/6628. Prior art we might consider rallying to address. I know not C++ | 19:29:38 |
Eli Flanagan | Also, Determinate Systems had documentation in their readme that they've since removed. Their nix-installer appears to fix the issue (https://github.com/DeterminateSystems/nix-installer/pull/714) | 19:35:47 |
fricklerhandwerk | Google Season of Docs applications are now open: https://developers.google.com/season-of-docs/docs/timeline | 21:42:43 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org unsure. i think the rc file isn't read at all, yeah? then i think some sshd config drop in ought to be added to the installer unless you have better ideas I wonder if we couldn't do something in nixpkgs that would be a ready-to-go sshd that's specific to ssh-ng 🤔 | 21:44:39 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org unsure. i think the rc file isn't read at all, yeah? then i think some sshd config drop in ought to be added to the installer unless you have better ideas * I wonder if we couldn't do something in nixpkgs that would be a ready-to-go sshd that's specific to ssh-ng 🤔
As in, it doesn't depend on outside state, and is configured exclusively for use with being used as a Nix builder.
| 21:45:40 |
@jade_:matrix.org | In reply to @philiptaron:matrix.org
I wonder if we couldn't do something in nixpkgs that would be a ready-to-go sshd that's specific to ssh-ng 🤔
As in, it doesn't depend on outside state, and is configured exclusively for use with being used as a Nix builder.
the actual more reasonable thing here is a ssh service/subsystem/whateveritis like sftp | 21:48:56 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org the actual more reasonable thing here is a ssh service/subsystem/whateveritis like sftp Now that's a flavor I haven't heard in forever. Does anyone else do that?! | 21:49:30 |
@jade_:matrix.org | subsystem seems like the absolute cleanest way of doing this tbqh, but putting PATH stuff in a drop in for sshd_config somewhere would also work | 21:55:44 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org subsystem seems like the absolute cleanest way of doing this tbqh, but putting PATH stuff in a drop in for sshd_config somewhere would also work Do you see a way of doing a drop-in style config? sshd_config isn't making me see any. I agree after reading the docs on subsystem that a nix subsystem would be 🔥 | 22:12:49 |
@jade_:matrix.org | at least archlinux has /etc/ssh/sshd_config.d | 22:14:48 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org subsystem seems like the absolute cleanest way of doing this tbqh, but putting PATH stuff in a drop in for sshd_config somewhere would also work * Do you see a way of doing a drop-in style config? sshd_config isn't making me see any. I agree after reading the docs on subsystem that a nix or nix-daemon subsystem would be 🔥 | 22:14:50 |
@jade_:matrix.org | but i am guessing it is a distro thing maybe? | 22:15:04 |