!wfudwzqQUiJYJnqfSY:nixos.org

NixOS Module System

146 Members
30 Servers

Load older messages


SenderMessageTime
30 Jan 2025
@laurynasp:matrix.orglaurynasp joined the room.08:55:51
31 Jan 2025
@cafkafk:fem.ggcafkafk 🏳️‍⚧️ changed their profile picture.05:06:12
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) changed their display name from SomeoneSerge to SomeoneSerge (Bruxelles).19:35:24
@ibizaman:matrix.orgibizaman

Just stumbled into this today:

The option `nodes.server.nixpkgs.overlays' is defined multiple times while it's expected to be unique.
       nixpkgs.overlays is set to read-only

Is there any reason for this? Why isn't the option just being merged?

20:12:35
@ibizaman:matrix.orgibizaman *

Just stumbled into this today:

The option `nodes.server.nixpkgs.overlays' is defined multiple times while it's expected to be unique.
       nixpkgs.overlays is set to read-only

Is there any reason for this?

20:15:05
@ibizaman:matrix.orgibizaman *

Just stumbled into this today:

The option `nodes.server.nixpkgs.overlays' is defined multiple times while it's expected to be unique.
       nixpkgs.overlays is set to read-only

Is there any reason for this? Why must it be read-only?

20:17:18
@mattsturg:matrix.orgMatt Sturgeon Where does the nodes.server option set come from? I can't see it on the NixOS option search 20:23:22
@ibizaman:matrix.orgibizamanAh my bad, it's in a NixOS VM test.20:26:15
@ibizaman:matrix.orgibizaman* Ah sorry for the confusion, it's in a NixOS VM test.20:26:28
@ibizaman:matrix.orgibizaman

It looks like so:

pkgs.testers.runNixOSTest {
      nodes.server = {
      imports = [
        ({ config, ... }: {
          config = {
            nixpkgs.overlays = [
              (final: prev: {
                grocy = prev.grocy.overrideAttrs (f: p: {
                  patches = [
                    ../../patches/grocy.patch
                  ];
                });
              })
            ];
          };
        })
      ];
    };

};
20:29:06
@ibizaman:matrix.orgibizaman *

It looks like so:

pkgs.testers.runNixOSTest {
    nodes.server = {
      imports = [
        ({ config, ... }: {
          config = {
            nixpkgs.overlays = [
              (final: prev: {
                grocy = prev.grocy.overrideAttrs (f: p: {
                  patches = [
                    ../../patches/grocy.patch
                  ];
                });
              })
            ];
          };
        })
      ];
    };
};
20:29:17
3 Feb 2025
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb 📞6343 to Lorenz Leutgeb.08:53:22
@nbp:mozilla.orgnbpThis sounds wrong on 3 aspects: 1. it is not supposed to be unique. 2. it is not supposed to be read-only. 3. It cannot be unique and read-only. https://github.com/NixOS/nixpkgs/blob/2dda8c252f59deeba5ef662a7bfc055e43639a55/nixos/lib/testing/nodes.nix#L129-L13810:32:02
@nbp:mozilla.orgnbphttps://github.com/NixOS/nixpkgs/blob/2dda8c252f59deeba5ef662a7bfc055e43639a55/nixos/modules/misc/nixpkgs/read-only.nix#L3810:33:13
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) changed their display name from SomeoneSerge (Bruxelles) to SomeoneSerge (Gand St. Pieters).13:41:17
6 Feb 2025
@rob.sliwi:matrix.orgrobsliwi joined the room.09:01:01
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) changed their display name from SomeoneSerge (Gand St. Pieters) to SomeoneSerge (UTC+U[-12,12]).17:51:18
7 Feb 2025
@sleepymonad:matrix.orgsleepymonad left the room.08:45:56
@terrorjack:matrix.terrorjack.comterrorjack left the room.22:28:06
10 Feb 2025
@spacekitteh:matrix.orgspacekitteh joined the room.03:54:14
15 Feb 2025
@benjb83:matrix.orgBenjB83 joined the room.10:16:21
@benjb83:matrix.orgBenjB83 changed their display name from Benjamín Buske to BenjB83.10:43:06
16 Feb 2025
@kristijan.zic:matrix.orgKristijanZic joined the room.01:04:13
17 Feb 2025
@rosariopulella:matrix.orgRosuavio joined the room.20:07:16
@encode42:matrix.orgencode42 joined the room.22:18:03
20 Feb 2025
@jkseno:matrix.orgJohn Kha joined the room.18:45:04
24 Feb 2025
@thunder:kotiboksi.xyzThunder left the room.21:04:39
27 Feb 2025
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± changed their profile picture.17:13:32
2 Mar 2025
@phanirithvij:matrix.orgloudgolemincase someone wants to answer, https://discourse.nixos.org/t/adding-custom-options-to-nixpkgs-modules-with-arbitrary-attrsets/6103904:12:24
@infinisil:matrix.orginfinisil loudgolem: Done ) 04:27:12

Show newer messages


Back to Room ListRoom Version: 10