!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

418 Members
Discussion about documentation improvements around the Nix ecosystem88 Servers

Load older messages


SenderMessageTime
7 Mar 2024
@jade_:matrix.org@jade_:matrix.orgwe should fix it17:44:32
@efx:matrix.orgEli Flanagan hmm. What path does prefix refer to here? 17:48:40
@jade_:matrix.org@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@jade_:matrix.orgwhen building the program17:52:11
@danielsidhion:nixos.devdanielsidhionIt's defined in a previous page when installing from source: https://nixos.org/manual/nix/stable/installation/building-source17:52:14
@philiptaron:matrix.orgPhilip 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@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
@efx:matrix.orgEli Flanaganah, makes sense. Thanks for the context folks!17:54:27
@danielsidhion:nixos.devdanielsidhion
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
@efx:matrix.orgEli 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
@efx:matrix.orgEli FlanaganPerhaps we mention a workaround to this issue here https://nix.dev/guides/troubleshooting?18:02:09
@efx:matrix.orgEli 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@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@jade_:matrix.orgwhich links to bug reports say18:03:37
@jade_:matrix.org@jade_:matrix.orgchange the error message to tell you a Web site that says how to fix it18:04:09
@efx:matrix.orgEli Flanagan That would be nice! that would be a patch to nix ? 18:04:37
@jade_:matrix.org@jade_:matrix.orgyeah 18:08:48
@jade_:matrix.org@jade_:matrix.orgtrivial uncontroversial patches like that one will be merged very promptly18:09:23
@efx:matrix.orgEli FlanaganI 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
@efx:matrix.orgEli FlanaganAlso, 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:matrix.orgfricklerhandwerkGoogle Season of Docs applications are now open: https://developers.google.com/season-of-docs/docs/timeline21:42:43
@philiptaron:matrix.orgPhilip 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
@philiptaron:matrix.orgPhilip 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@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
@philiptaron:matrix.orgPhilip 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@jade_:matrix.orgsubsystem seems like the absolute cleanest way of doing this tbqh, but putting PATH stuff in a drop in for sshd_config somewhere would also work21:55:44
@philiptaron:matrix.orgPhilip 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@jade_:matrix.orgat least archlinux has /etc/ssh/sshd_config.d22:14:48
@philiptaron:matrix.orgPhilip 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@jade_:matrix.orgbut i am guessing it is a distro thing maybe?22:15:04

Show newer messages


Back to Room ListRoom Version: 6