!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

885 Members
179 Servers

Load older messages


SenderMessageTime
26 Jun 2023
@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
@artturin:matrix.orgArtturin
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
@kingofscorchers:matrix.orgpat joined the room.16:12:01
@kingofscorchers:matrix.orgpatI 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:crtified.meCRTifiedYes, it respects the lock of flake b16:31:58
@crtified:crtified.meCRTified follows is used to override that 16:32:11
@crtified:crtified.meCRTified

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:crtified.meCRTifiedhttps://nixos.wiki/wiki/Flakes#Flake_schema16:33:10
@kingofscorchers:matrix.orgpatGot it. Thanks for the quick response!16:33:16
29 Jun 2023
@emilazy:matrix.orgemily any way to do nix flake check only for the current system? 06:24:47
@emilazy:matrix.orgemilychecking e.g. whether other systems' outputs are valid derivations has issues with IFD :(06:25:10
@a-kenji:matrix.orgkenji
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
@a-kenji:matrix.orgkenjiAt 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
@emilazy:matrix.orgemilynot according to the results i'm getting :)06:59:44
@emilazy:matrix.orgemily it won't build for other platforms 06:59:47
@emilazy:matrix.orgemilybut it will run derivation checks for them06:59:54
@emilazy:matrix.orgemilyin the presence of IFD, evaluation requires building, so...07:00:04
@theophane:hufschmitt.net@theophane:hufschmitt.net emily: I think something for that got added recently 07:51:40
@theophane:hufschmitt.net@theophane:hufschmitt.nethttps://github.com/NixOS/nix/pull/7759 . Should be in 2.16 if I'm not mistaken07:52:41
30 Jun 2023
@sandro:supersandro.deSandro 🐧yes, saw that yesterday 19:14:14

Show newer messages


Back to Room ListRoom Version: 6