!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

323 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena110 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
25 Jan 2023
@linus:schreibt.jetztLinux Hackermanit's probably the nixpkgs follows.14:53:09
@linus:schreibt.jetztLinux HackermanTry without that14:53:14
@askyourself:askyourself.caAsk Yourself🍉That worked, thanks.14:55:00
@linus:schreibt.jetztLinux HackermanIt's always a tradeoff between using the same stuff that upstream is tested against, and having fewer copies of nixpkgs 😅14:55:47
@askyourself:askyourself.caAsk Yourself🍉Yeah, I thought it was good practice to standardize, but maybe I'm confused about that?14:56:24
@askyourself:askyourself.caAsk Yourself🍉Should I be standardizing like that by default until something breaks or is it just not even a good idea?14:56:40
@linus:schreibt.jetztLinux HackermanDepends on what you want14:56:40
@linus:schreibt.jetztLinux Hackerman if you want as little fuss as possible at the cost of disk space (and being more dependent on your upstreams for security updates), don't use any follows 14:57:09
@askyourself:askyourself.caAsk Yourself🍉Hmmm ok. 14:57:49
@askyourself:askyourself.caAsk Yourself🍉I think I need to get a better understanding of some of the inner workings of Nix.. 14:58:02
@askyourself:askyourself.caAsk Yourself🍉Thank you for the help!14:58:06
@dminuoso:matrix.orgdminuoso joined the room.17:13:12
@dminuoso:matrix.orgdminuoso

Hi. We're still on 22.05 and get warnings like trace: warning: The following Nixpkgs configuration keys set in meta.nixpkgs will be ignored: allowUnfree allowUnsupportedSystem contentAddressedByDefault enableParallelBuildingByDefault showDerivationWarnings strictDepsByDefault

Given that we set meta.nixpkgs = import sources.nixpkgs; (i.e. non-initialised nixpkgs from niv), Im a bit unsure how to squelch those warnings.

Does anyone have an idea?

17:15:44
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @dminuoso:matrix.org

Hi. We're still on 22.05 and get warnings like trace: warning: The following Nixpkgs configuration keys set in meta.nixpkgs will be ignored: allowUnfree allowUnsupportedSystem contentAddressedByDefault enableParallelBuildingByDefault showDerivationWarnings strictDepsByDefault

Given that we set meta.nixpkgs = import sources.nixpkgs; (i.e. non-initialised nixpkgs from niv), Im a bit unsure how to squelch those warnings.

Does anyone have an idea?

If you aren't setting any of the configs, this warning should be harmless. The warning will disappear once you upgrade to 22.11 where most nixpkgs config keys became typed so merging would work as expected.
18:23:46
@dminuoso:matrix.orgdminuosoWell I am setting in nixpkgs.config inside the host config. Im just curious whether I can even make the warning disappear.18:44:03
@zhaofeng:zhaofeng.liZhaofeng Li I think you can explicitly set all of them in meta.nodeNixpkgs but it's quite tedious. The warning is defined here: https://github.com/zhaofengli/colmena/blob/64c46fa0169233d4faed70c52583cd3183c7f5aa/src/nix/hive/eval.nix#L132-L141 20:18:56
@hexa:lossy.networkhexa dminuoso: can I ask what's holding you back? Interested from a security team perspective. 20:36:01
@hexa:lossy.networkhexaI assume this is work related?20:36:12
@dminuoso:matrix.orgdminuoso hexa: Oh yeah. Updating closures for 22.11 is scheduled right after we're done with a critical project, so probably next week or so. 20:54:16
@dminuoso:matrix.orgdminuoso It was a bit of a mismanagement on my side, at the time it was released we had a lot of folks on vacation. Next time we should probably prepare closures for a new nixos release before the release, but oh well. 20:55:44
@dminuoso:matrix.orgdminuosoIt's a bit of an effort because we have a lot of nixos machines involved, so we have to do audits, backport changes, etc..20:56:28
@dminuoso:matrix.orgdminuoso * It's a bit of an effort because we have a lot of nixos machines involved, so we have to do audits, rebase changes, etc..20:56:39
@hexa:lossy.networkhexayou can probably start evaluating the new release as soon as it is branched, which happens roughly ten days before the actual release20:58:39
@hexa:lossy.networkhexathen you have like 5 weeks to migrate, which might sound short, but I think nixos makes updating far easier than other distros20:59:15
@whentze:matrix.orgWanja Hentze
In reply to @dminuoso:matrix.org
It's a bit of an effort because we have a lot of nixos machines involved, so we have to do audits, rebase changes, etc..
same here
22:11:48
@whentze:matrix.orgWanja Hentzefor 22.11, we *did* start working on the upgrade in time, but it still took us til mid January to finish it because there was so much breakage this time22:12:22

Show newer messages


Back to Room ListRoom Version: 6