!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

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


SenderMessageTime
25 Jan 2023
@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

Show newer messages


Back to Room ListRoom Version: 6