27 Dec 2021 |
cawilliamson | In reply to @teutat3s:pub.solar True, the link in the readme needs an update after the switch to matrix.org I'll submit a pr tomorrow for the doc changes I've needed so far.
I hope a maintainer is found for this stuff. It's not too bad right now but looks like it needs some time spent on the more BAU elements. | 00:20:59 |
Pacman99 | In reply to @teutat3s:pub.solar True, the link in the readme needs an update after the switch to matrix.org Ohh right I've been meaning to request for the devos room to be added back to the nixos space, I just sent a message to grahamc. | 08:10:07 |
David Arnold (blaggacao) | Please also don't forget to request an exemption to my ban for this room. | 14:08:33 |
David Arnold (blaggacao) | * Please also don't forget to request an exemption to (the/his) ban for this room. | 14:10:11 |
David Arnold (blaggacao) | * Please also don't forget to request an exemption to my ban for this room. | 14:11:39 |
David Arnold (blaggacao) | (^^ long term ripple effects of poor judgement) | 14:13:09 |
Pacman99 | In reply to @blaggacao:matrix.org Please also don't forget to request an exemption to my ban for this room. Yeah I'll try | 21:18:04 |
Pacman99 | Also Idk whats up with the checks for this PR: https://github.com/divnix/devos/pull/403, nix flake check works fine on my system on that branch, but its failing on github actions | 21:18:42 |
28 Dec 2021 |
| Pacman99 invited @grahamc:nixos.org. | 06:44:06 |
| Pacman99changed room power levels. | 06:44:27 |
29 Dec 2021 |
Bruno | I have a nix error but have no clue what it means:
{ self, pkgs, ... }:
{
home-manager.users."${self.vars.username}".programs.alacritty = { ... };
home-manager.users."${self.vars.username}".programs.tmux.extraConfig = ''set -ga terminal-overrides ",alacritty:Tc"'';
}
And I'm getting the following nix error:
error: dynamic attribute 'sweenu' already defined at /nix/store/5vqbzfmprv06nfaawpn41kyx0shs4qzz-source/profiles/graphical/alacritty.nix:4:3 (sweenu being what self.vars.username evaluates to).
I have this error only on this file because I use self.vars.username several times, otherwise it works. I could just put everything under home-manager.users but I'd like to understand what the problem is.
Do you have an idea of what I'm doing wrong?
| 09:33:00 |
Bruno | * I have a nix error but have no clue what it means:
{ self, pkgs, ... }:
{
home-manager.users."${self.vars.username}".programs.alacritty = { ... };
home-manager.users."${self.vars.username}".programs.tmux.extraConfig = ''set -ga terminal-overrides ",alacritty:Tc"'';
}
And I'm getting the following nix error: error: dynamic attribute 'sweenu' already defined at /nix/store/5vqbzfmprv06nfaawpn41kyx0shs4qzz-source/profiles/graphical/alacritty.nix:4:3 (sweenu being what self.vars.username evaluates to).
I have this error only on this file because I use self.vars.username several times, otherwise it works. I could just put everything under home-manager.users but I'd like to understand what the problem is. Do you have an idea of what I'm doing wrong?
| 09:33:10 |
Bruno | * I have a nix error but have no clue what it means:
{ self, pkgs, ... }:
{
home-manager.users."${self.vars.username}".programs.alacritty = { ... };
home-manager.users."${self.vars.username}".programs.tmux.extraConfig = ''set -ga terminal-overrides ",alacritty:Tc"'';
}
And I'm getting the following nix error: error: dynamic attribute 'sweenu' already defined at /nix/store/5vqbzfmprv06nfaawpn41kyx0shs4qzz-source/profiles/graphical/alacritty.nix:4:3 (sweenu being what self.vars.username evaluates to).
I have this error only on this file because I use self.vars.username several times, otherwise it works. I could just put everything under home-manager.users but I'd like to understand what the problem is. Do you have an idea of what I'm doing wrong?
| 09:33:17 |
Bruno | In my flake.nix's outputs I have vars = import ./vars.nix; and vars.nix is a simple set with some variables that I use across my repo | 09:34:46 |
Bruno | * I have a nix error but have no clue what it means:
{ self, pkgs, ... }:
{
home-manager.users."${self.vars.username}".programs.alacritty = { ... };
home-manager.users."${self.vars.username}".programs.tmux.extraConfig = ''set -ga terminal-overrides ",alacritty:Tc"'';
}
And I'm getting the following nix error:
error: dynamic attribute 'sweenu' already defined at /nix/store/5vqbzfmprv06nfaawpn41kyx0shs4qzz-source/profiles/graphical/alacritty.nix:4:3 (sweenu being what self.vars.username evaluates to).
I have this error only on this file because I use self.vars.username several times, otherwise it works. I could just put everything under home-manager.users but I'd like to understand what the problem is. Do you have an idea of what I'm doing wrong?
| 09:45:58 |
cawilliamson | In reply to @pachumicchu:myrdd.info Also Idk whats up with the checks for this PR: https://github.com/divnix/devos/pull/403, nix flake check works fine on my system on that branch, but its failing on github actions That PR is using full paths (i.e. /home/yada_yada) in the flake.nix so those may be causing problems. | 09:52:16 |
@lourkeur:nixos.dev | In reply to @Sweenu:matrix.org
I have a nix error but have no clue what it means:
{ self, pkgs, ... }:
{
home-manager.users."${self.vars.username}".programs.alacritty = { ... };
home-manager.users."${self.vars.username}".programs.tmux.extraConfig = ''set -ga terminal-overrides ",alacritty:Tc"'';
}
And I'm getting the following nix error:
error: dynamic attribute 'sweenu' already defined at /nix/store/5vqbzfmprv06nfaawpn41kyx0shs4qzz-source/profiles/graphical/alacritty.nix:4:3 (sweenu being what self.vars.username evaluates to).
I have this error only on this file because I use self.vars.username several times, otherwise it works. I could just put everything under home-manager.users but I'd like to understand what the problem is. Do you have an idea of what I'm doing wrong?
I guess Nix isn't able to infer that "${self.vars.username}" is equal to "${self.vars.username}" in this case, so the shortcut syntax for nested sets doesn't kick in. then at runtime it turns into trying to assign both { programs.alacritty = ...; } and { programs.tmux = ...; } to the same attribute, hence the error | 10:05:20 |
Bruno | In reply to @lourkeur:nixos.dev I guess Nix isn't able to infer that "${self.vars.username}" is equal to "${self.vars.username}" in this case, so the shortcut syntax for nested sets doesn't kick in. then at runtime it turns into trying to assign both { programs.alacritty = ...; } and { programs.tmux = ...; } to the same attribute, hence the error I see, thank you. I found the related issue: https://github.com/NixOS/nix/issues/916. It's confusing that it wouldn't work for a beginner like me. Unless you understand the behind the scenes of what nix does, you couldn't imagine that this isn't supported by nix and is not an error of your making. Anyway, thanks! | 10:50:51 |
Pacman99 | In reply to @cawilliamson:nixos.dev That PR is using full paths (i.e. /home/yada_yada) in the flake.nix so those may be causing problems. Is that still there? I thought that was addressed. idk if I'm missing it but looking over the PR I don't see any full paths anymore. | 19:42:46 |
cawilliamson | In reply to @pachumicchu:myrdd.info Is that still there? I thought that was addressed. idk if I'm missing it but looking over the PR I don't see any full paths anymore. They were in flake.nix last time I looked but may have been removed now. :) | 19:43:21 |
| Pacman99 changed their display name from pachumicchu to Pacman99. | 20:56:39 |
Pacman99 | I got the CI to work on one commit, then after a rebase it failed again. So I just gave up and merged it. I'm fairly certain its a cache issue. | 22:13:09 |
30 Dec 2021 |
| @grahamc:nixos.org joined the room. | 00:46:09 |
| @grahamc:nixos.org left the room. | 20:03:17 |
| @grahamc:nixos.org joined the room. | 20:03:49 |
| @grahamc:nixos.orgchanged room power levels. | 20:05:38 |
| Pacman99changed room power levels. | 20:21:53 |
| @grahamc:nixos.org invited @mjolnir:nixos.org. | 20:23:16 |
| @grahamc:nixos.orgchanged room power levels. | 20:23:19 |
| @mjolnir:nixos.org joined the room. | 20:29:42 |