!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

885 Members
179 Servers

Load older messages


SenderMessageTime
26 Jun 2023
@dariof4:matrix.orgdariof4
In reply to @adham-omran:matrix.org
Yes
might be a mismatch between home-manager and your nixpkgs
11:50:57
@dariof4:matrix.orgdariof4e.g. you're using unstable home-manager while on nixos-23.0511:51:14
@dariof4:matrix.orgdariof4 * e.g. you're using unstable home-manager while on nixpks/nixos-23.0511:51:27
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @dariof4:matrix.org
e.g. you're using unstable home-manager while on nixpks/nixos-23.05
Let me check that
11:51:30
@dariof4:matrix.orgdariof4 * e.g. you're using unstable home-manager while on nixpkgs/nixos-23.0511:51:38
@adham-omran:matrix.org@adham-omran:matrix.orgChecked, both are 23.0511:52:13
@adham-omran:matrix.org@adham-omran:matrix.orgWhat else should I check?11:52:35
@dariof4:matrix.orgdariof4hmm, are you using anything from unstable nixpkgs in your config?11:53:19
@adham-omran:matrix.org@adham-omran:matrix.org I grepped for unstable and nothing shows up in my .nix files 11:53:46
@adham-omran:matrix.org@adham-omran:matrix.orgI did used to use unstable but I switched to 23.05 when it was released11:54:36
@dariof4:matrix.orgdariof4 hmm, I think the issue is that something is trying to pull in qt6Packages.qt6ct which doesn't exist on 23.05, but exists on unstable 11:55:46
@dariof4:matrix.orgdariof4could I check your flake.nix?11:55:52
@adham-omran:matrix.org@adham-omran:matrix.orgYes https://codeberg.org/adham/flake/src/branch/unstable/flake.nix11:58:06
@dariof4:matrix.orgdariof4
In reply to @adham-omran:matrix.org
Yes

https://codeberg.org/adham/flake/src/branch/unstable/flake.nix
you're using home-manager master, you should be using home-manager/release-23.05 if you're using nixpkgs/nixos-23.05
11:59:51
@dariof4:matrix.orgdariof4 the inputs.nixpkgs.follows just means that home-manager uses the same nixpkgs version, but some options in home-manager master may require packages which are not in nixpkgs/nixos-23.05 which leads to that failure 12:00:43
@adham-omran:matrix.org@adham-omran:matrix.orgWould following the trace lead to know which options they are exactly?12:01:36
@adham-omran:matrix.org@adham-omran:matrix.orgYour explanation makes sense to me12:01:43
@crtified:crtified.meCRTified Probably qt.platformTheme: https://github.com/nix-community/home-manager/blob/0ee5ab611dc1fbb5180bd7d88d2aeb7841a4d179/modules/misc/qt.nix#L54 12:02:28
@crtified:crtified.meCRTified * Probably qt.platformTheme: https://github.com/nix-community/home-manager/blob/master/modules/misc/qt.nix#L54 12:02:53
@dariof4:matrix.orgdariof4
In reply to @crtified:crtified.me
Probably qt.platformTheme: https://github.com/nix-community/home-manager/blob/master/modules/misc/qt.nix#L54
yep it's this one, and to be more specific I think it fails while evaluating the file since it specifes pkgs.qt6packages.qt6ct, so even if you don't touch the option it fails
12:04:51
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @dariof4:matrix.org
yep it's this one, and to be more specific I think it fails while evaluating the file since it specifes pkgs.qt6packages.qt6ct, so even if you don't touch the option it fails
So, in this case what should I do?
12:05:39
@dariof4:matrix.orgdariof4
In reply to @adham-omran:matrix.org
So, in this case what should I do?
set your home-manager url to the release-23.05 branch, like so url = "github:nix-community/home-manager/release-23.05";
12:06:52
@adham-omran:matrix.org@adham-omran:matrix.orgI'll test now, thank you12:08:15
@adham-omran:matrix.org@adham-omran:matrix.orgokay, internet speed ain't good at work, I'll report back when I'm home, thank you!12:13:13
@dariof4:matrix.orgdariof4np :-)12:17:13
@adham-omran:matrix.org@adham-omran:matrix.orgIt worked! 13:16:51
27 Jun 2023
@kurogeek:matrix.orgkurogeek joined the room.07:36:58
@twitchy0:matrix.orgtwitchy0Is there a way to ensure that the source for a flake.lock is always available in my nix store? I think it's getting garbage collected.12:25:17
@twitchy0:matrix.orgtwitchy0

On the nixos wiki I see the following for overlays

overlays."<name>" = final: prev: { };
overlays.default = { };

Are the types of these two the same?

12:44:08
@twitchy0:matrix.orgtwitchy0 *

On the nixos wiki for flakes I see the following for overlays

overlays."<name>" = final: prev: { };
overlays.default = { };

Are the types of these two the same?

12:44:18

Show newer messages


Back to Room ListRoom Version: 6