| 26 Jun 2023 |
@adham-omran:matrix.org | Your explanation makes sense to me | 12:01:43 |
CRTified | Probably qt.platformTheme: https://github.com/nix-community/home-manager/blob/0ee5ab611dc1fbb5180bd7d88d2aeb7841a4d179/modules/misc/qt.nix#L54 | 12:02:28 |
CRTified | * Probably qt.platformTheme: https://github.com/nix-community/home-manager/blob/master/modules/misc/qt.nix#L54 | 12:02:53 |
dariof4 | 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 | 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 | 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 | I'll test now, thank you | 12:08:15 |
@adham-omran:matrix.org | okay, internet speed ain't good at work, I'll report back when I'm home, thank you! | 12:13:13 |
dariof4 | np :-) | 12:17:13 |
@adham-omran:matrix.org | It worked! | 13:16:51 |
| 27 Jun 2023 |
| kurogeek joined the room. | 07:36:58 |
twitchy0 | Is 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 | 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 | * 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 |
Artturin | In reply to @twitchy0:matrix.org
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?
yes, edited the wiki to make them the same | 12:52:03 |
| pat joined the room. | 16:12:01 |
pat | I have a basic question about flakes. If flake A depends on flake B, and both flake A and flake B depend on flake C, then when the lock file is generated for flake A, will it respect the lock file for flake B for the specific version of flake C? Does adding "flakeB.inputs.flakeC = ..." in the flake.nix file for flake A change this behavior? | 16:30:41 |
CRTified | Yes, it respects the lock of flake b | 16:31:58 |
CRTified | follows is used to override that | 16:32:11 |
CRTified | From the wiki:
sops-nix = {
url = "github:Mic92/sops-nix";
# The `follows` keyword in inputs is used for inheritance.
# Here, `inputs.nixpkgs` of sops-nix is kept consistent with the `inputs.nixpkgs` of
# the current flake, to avoid problems caused by different versions of nixpkgs.
inputs.nixpkgs.follows = "nixpkgs";
};
| 16:32:41 |
CRTified | https://nixos.wiki/wiki/Flakes#Flake_schema | 16:33:10 |
pat | Got it. Thanks for the quick response! | 16:33:16 |
| 29 Jun 2023 |
emily | any way to do nix flake check only for the current system? | 06:24:47 |
emily | checking e.g. whether other systems' outputs are valid derivations has issues with IFD :( | 06:25:10 |
kenji | In reply to @emilazy:matrix.org any way to do nix flake check only for the current system? Isn't that what the current nix release does? | 06:52:23 |
kenji | At least I know it does it for `nix flake show` , I thought it also does it for the checks, but I am not sure. | 06:53:02 |
emily | not according to the results i'm getting :) | 06:59:44 |
emily | it won't build for other platforms | 06:59:47 |
emily | but it will run derivation checks for them | 06:59:54 |
emily | in the presence of IFD, evaluation requires building, so... | 07:00:04 |