!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

422 Members
Discussion about documentation improvements around the Nix ecosystem86 Servers

Load older messages


SenderMessageTime
7 Mar 2024
@jade_:matrix.org@jade_:matrix.orghttps://github.com/NixOS/nix/issues/7508 ?17:38:05
@efx:matrix.orgefx
In reply to @jade_:matrix.org
https://github.com/NixOS/nix/issues/7508 ?
ooh, quite helpful! I didn't know about the NIX_SSHOPTS.
FWIW, I and team have run into this issue for years. I've simply taught folks to ensure they load a login shell for the user we install nix under.
17:39:33
@efx:matrix.orgefx sudo su - mynixuser 17:39:41
@jade_:matrix.org@jade_:matrix.orgffs17:39:59
@jade_:matrix.org@jade_:matrix.orgcan we fix our bugs 😭17:40:08
@efx:matrix.orgefxlol, sorry, what does ffs mean?17:40:20
@jade_:matrix.org@jade_:matrix.orguhhh, it was uncalled for sorry17:40:34
@jade_:matrix.org@jade_:matrix.orgI'm just frustrated17:40:39
@efx:matrix.orgefxoh, no worries at all! I'm a jargon freak so love to expand my lexicon.17:40:55
@infinisil:matrix.orginfinisilI wouldn't mind Nix just getting a feature freeze until a large part of bugs are fixed17:41:08
@efx:matrix.orgefxI'll infer frustration frustration :)17:41:15
@jade_:matrix.org@jade_:matrix.org
In reply to @infinisil:matrix.org
I wouldn't mind Nix just getting a feature freeze until a large part of bugs are fixed
nixpkgs did it already, the nix team just needs to actually consider what it means
17:41:36
@infinisil:matrix.orginfinisilOh didn't think of it that way, but yeah Nixpkgs sure did!17:41:56
@efx:matrix.orgefxFor me, I've been learning the value of having these tiny roadblock issues documented with quick workarounds. They feel like minor things, not worthy of official documentation. In my understanding, community tips/tricks that are discoverable.17:43:47
@efx:matrix.orgefxCorrect me if I'm wrong: https://nixos.wiki/ is not a good place for this.17:44:08
@jade_:matrix.org@jade_:matrix.orgcorrect!17:44:25
@jade_:matrix.org@jade_:matrix.orgimo this one is a bug though17:44:29
@jade_:matrix.org@jade_:matrix.orgwe should fix it17:44:32
@efx:matrix.orgefx 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.orgefxah, 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.orgefx
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.orgefxPerhaps we mention a workaround to this issue here https://nix.dev/guides/troubleshooting?18:02:09
@efx:matrix.orgefx 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

Show newer messages


Back to Room ListRoom Version: 6