!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

438 Members
Discussion about documentation improvements around the Nix ecosystem91 Servers

Load older messages


SenderMessageTime
21 Nov 2023
@brainrape:ggpeti.combrainrake left the room.15:27:59
@niksnut:matrix.orgEelco changed their display name from niksnut to Eelco.16:37:09
@infinisil:matrix.orginfinisil fricklerhandwerk: Unless the github deployments thing is necessary for netlify (I don't think it is?), please turn it off (which needs repo admin permissions afaik), it's spamming events for every PR update: https://github.com/NixOS/nix.dev/pull/802 18:26:02
@asymmetric:matrix.dapp.org.ukasymmetric
In reply to @infinisil:matrix.org
fricklerhandwerk: Unless the github deployments thing is necessary for netlify (I don't think it is?), please turn it off (which needs repo admin permissions afaik), it's spamming events for every PR update: https://github.com/NixOS/nix.dev/pull/802
i think it comes from here: https://github.com/NixOS/nix.dev/blob/master/.github/workflows/build-and-deploy.yml
18:38:55
@asymmetric:matrix.dapp.org.ukasymmetric the action has an enable-github-deployment option which defaults to true. we could make it dependent on whether the push is to master instead 18:39:46
@asymmetric:matrix.dapp.org.ukasymmetric * the netlify action has an enable-github-deployment option which defaults to true. we could make it dependent on whether the push is to master instead 18:40:01
@infinisil:matrix.orginfinisil asymmetric: Ah I see, but what's the point of these github deployments anyways? The comment it posts in the PR always contains an up-to-date link to the netlify deployment 18:41:22
@infinisil:matrix.orginfinisil * asymmetric: Ah I see, but what's the point of these github deployments anyways? The comment it posts in the PR always contains an up-to-date link to the netlify deployment: https://github.com/NixOS/nix.dev/pull/802#issuecomment-1817733137 18:41:35
@asymmetric:matrix.dapp.org.ukasymmetric don't think there's any special utility tbh.. other than getting a view of all deployments, and a summary in the project's sidebar 18:43:59
@infinisil:matrix.orginfinisil asymmetric: https://github.com/NixOS/nix.dev/pull/803 18:54:03
@asymmetric:matrix.dapp.org.ukasymmetric Do you get a This branch has not been deployed spammy message too? 18:54:55
@infinisil:matrix.orginfinisil asymmetric: Oh yeah, interesting 18:55:22
@infinisil:matrix.orginfinisilSo maybe it doesn't work at all if that's disabled..18:55:38
@infinisil:matrix.orginfinisilI just want it to post the comment18:56:02
@infinisil:matrix.orginfinisilOh maybe wait until the action is done18:56:17
@asymmetric:matrix.dapp.org.ukasymmetricit did deploy to netlify, it's just that github doesn't know about it18:56:27
@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

Show newer messages


Back to Room ListRoom Version: 6