| 14 Oct 2025 |
piegames | environment variables don't propagate changes well | 08:58:07 |
FireFly | yeah could be, I don't remember | 08:58:17 |
FireFly | thanks for the second pair of eyes/I think I'll just update it to match as well now ^^ | 08:59:33 |
crop | if i simply use this
{ pkgs, ... }:
{
nix.package = pkgs.lixPackageSets.stable.lix;
}
in my system configuration... is not picked up ... now it uses nix again | 18:49:23 |
K900 | What is "it"? | 18:51:48 |
Sofie 🏳️⚧️ (she/her) | Well, I did it like this (an overlay, for the other Nix related packages too)
packages = {...} // lib.listToAttrs (
lib.mapAttrsToList
(name: val: {
name =
let
replacedNames = {
lix = "nix";
};
in
if pkgs.lib.hasAttr name replacedNames then pkgs.lib.getAttr name replacedNames else name;
value = val;
})
(
lib.filterAttrs (
_: v: lib.isDerivation v
) inputs.nixpkgs.legacyPackages.${system}.lixPackageSets.git
)
);
| 18:53:05 |
crop | so this is not correct?
https://lix.systems/add-to-config/ | 18:54:09 |
K900 | That is correct | 18:54:22 |
Sofie 🏳️⚧️ (she/her) | Yra | 18:54:30 |
K900 | Where are you seeing Nix? | 18:54:32 |
Sofie 🏳️⚧️ (she/her) | * | 18:54:34 |
K900 | And under what conditions | 18:54:38 |
Sofie 🏳️⚧️ (she/her) | I just did a little of my own overlay stuff | 18:54:46 |
Sofie 🏳️⚧️ (she/her) | To make it do automatically for all of those packages in that set | 18:54:58 |
crop | after is switched and only used the one lines to configure lix | 18:55:09 |
K900 | What exact command are you running that tells you it's Nix? | 18:55:28 |
K900 | And what is the output? | 18:55:31 |
crop | nix --version | 18:56:21 |
crop | nix (Nix) 2.28.5 | 18:56:40 |
crop | i used before the lix-module with lix from the cache ... which is not recommended anymore ... | 18:57:26 |
crop | * i used before the lix-module with lix from the nixpkgs-cache ... which is not recommended anymore ... | 18:57:36 |
K900 | Are you sure you're importing that module into your config? | 18:57:58 |
K900 | What does which nix output? | 18:58:06 |
crop | /run/current-system/sw/bin/nix | 19:01:21 |
crop | i tried now two more things ... 1 set nix.package to a random package fails as expected at a check for the version 2 set nix.package to pkgs.lix (which i am not sure if it even exist) is again just using nix | 19:03:04 |
crop | * i tried now two more things ...
1 set nix.package to a random package
fails as expected at a check for the version
2 set nix.package to pkgs.lix
is again just using nix | 19:03:57 |
K900 | That's strange | 19:08:09 |
K900 | Are you maybe setting it somewhere else with mkForce | 19:08:09 |
K900 | Can you open your config in a repl and check options.nix.package.definitionsWithLocations? | 19:08:19 |
crop | i found that i put nix in the systemPackages ... and i because before changed nix to lix in the overlay it would still use the same one ...
sorry for the noise | 19:12:31 |