!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

404 Members
Discussion about documentation improvements around the Nix ecosystem80 Servers

Load older messages


SenderMessageTime
21 Nov 2023
@infinisil:matrix.orginfinisilYup there it is: https://github.com/NixOS/nix.dev/pull/803#issuecomment-1821480699 :D18:56:28
@asymmetric:matrix.dapp.org.ukasymmetricwe would probably have to disable github deployments altogether (needs an admin) to get rid of that message18:56:59
@infinisil:matrix.orginfinisilThe message is still there though 🤔18:57:02
@asymmetric:matrix.dapp.org.ukasymmetric
In reply to @asymmetric:matrix.dapp.org.uk
it did deploy to netlify, it's just that github doesn't know about it
yeah it's because of this
18:57:18
@infinisil:matrix.orginfinisilYeah, let's see if there's a setting for this in a personal repo18:57:23
* @infinisil:matrix.orginfinisil can't find any setting19:02:11
@infinisil:matrix.orginfinisilBut it's probably related to "Environments"19:02:41
@bzzm3r:matrix.org@bzzm3r:matrix.orgRedacted or Malformed Event19:09:40
@bzzm3r:matrix.org@bzzm3r:matrix.org(sorry, wrong channel!)19:13:28
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/26547822:20:54
22 Nov 2023
@zarel_it:matrix.org@zarel_it:matrix.org left the room.09:40:37
@olafklingt:matrix.org@olafklingt:matrix.orgI am trying to improve the reproducible nixos-generate-config. it would be nice if we could not reproduce the installer configuration but by use the installer configuration as defined in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix ... but i have no idea how to do that. (i already commented on this on the ticket but i think here is a better place if someone has an idea)15:46:22
@olafklingt:matrix.org@olafklingt:matrix.org * I am trying to improve the reproducible nixos-generate-config. it would be nice if we could not reproduce the installer configuration but use the installer configuration as defined in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix ... but i have no idea how to do that. (i already commented on this on the ticket but i think here is a better place if someone has an idea)15:57:44
@olafklingt:matrix.org@olafklingt:matrix.org what i don't want to do is this because one would need to have a copy of nixpkgs around:
nix-shell -p "with (import ./. {}); (nixos { imports = [./nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix ]; }).config.system.build.nixos-generate-config"
16:30:24
@bzzm3r:matrix.org@bzzm3r:matrix.org
In reply to @olafklingt:matrix.org
I am trying to improve the reproducible nixos-generate-config. it would be nice if we could not reproduce the installer configuration but use the installer configuration as defined in
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix ... but i have no idea how to do that. (i already commented on this on the ticket but i think here is a better place if someone has an idea)
which ticket, sorry?
16:57:16
@olafklingt:matrix.org@olafklingt:matrix.orghttps://github.com/NixOS/nix.dev/pull/804#issuecomment-182300317416:59:57
23 Nov 2023
@artturin:matrix.orgArtturin
In reply to @olafklingt:matrix.org
what i don't want to do is this because one would need to have a copy of nixpkgs around:
nix-shell -p "with (import ./. {}); (nixos { imports = [./nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix ]; }).config.system.build.nixos-generate-config"
import <nixpkgs> would use the channel
19:13:14
@artturin:matrix.orgArtturin
In reply to @olafklingt:matrix.org
what i don't want to do is this because one would need to have a copy of nixpkgs around:
nix-shell -p "with (import ./. {}); (nixos { imports = [./nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix ]; }).config.system.build.nixos-generate-config"
and (pkgs.path + "/nixos/modules/installer/cd-dvd/installation-cd-graphical.gnome.nix") can be used in imports
19:15:47
@olafklingt:matrix.org@olafklingt:matrix.org Artturin: thank you. thats much more straightforward than i thought. 23:08:43
@infinisil:matrix.orginfinisilHaving tutorials in a separate repo is actually kind of terrible because you can't introduce a feature and also mention it in a tutorial at the same time, you instead need two PRs23:22:26
@infinisil:matrix.orginfinisilAnd with the current rendering pipeline it's especially terrible because you can't link to the reference manuals until the channels advanced23:22:58
24 Nov 2023
@adam:robins.wtf@adam:robins.wtf Are there thoughts about combining them? 00:25:14
@infinisil:matrix.orginfinisil adamcstephens 🐝: I think most people are onboard with that idea, but nobody has the resources and knowledge to execute it! 00:29:40
@infinisil:matrix.orginfinisilWell, the basic idea being that you render from multiple sources00:30:12
25 Nov 2023
@tejing:matrix.org@tejing:matrix.org joined the room.04:47:47
@tejing:matrix.org@tejing:matrix.orgI'm working on a nixos module to improve the UX of trying to run ELF binaries not made for nixos: https://github.com/NixOS/nixpkgs/pull/269551 I've quickly realized I need a documentation entry point to link to, since explaining everything people want to know makes the message too long. Afaik there isn't really a proper place for that currently. Any thoughts on where this really should live?04:52:16
@bzzm3r:matrix.org@bzzm3r:matrix.org
In reply to @tejing:matrix.org
I'm working on a nixos module to improve the UX of trying to run ELF binaries not made for nixos: https://github.com/NixOS/nixpkgs/pull/269551

I've quickly realized I need a documentation entry point to link to, since explaining everything people want to know makes the message too long. Afaik there isn't really a proper place for that currently.

Any thoughts on where this really should live?
there is a section of nix.dev that is called "guides"
05:55:55
@bzzm3r:matrix.org@bzzm3r:matrix.orgwhich has a section called "recipes"05:56:39
@bzzm3r:matrix.org@bzzm3r:matrix.orgwould this fit there? 05:56:46
@tejing:matrix.org@tejing:matrix.orgThat's certainly a better place than I'd thought of yet. Another possibility is to add something directly on https://nixos.org/learn, maybe? Perhaps both. We want accessibility, since this is the most likely reason for a nixos user to start learning the nix language and getting deeper into the nix ecosystem, but nix.dev does seem like a better place for the guide to actually live.06:14:56

Show newer messages


Back to Room ListRoom Version: 6