| 2 May 2026 |
graysontinker | Same issue here | 21:53:00 |
Devin | probably related | 21:53:19 |
hexa | 502 bad gateway is an nginx response | 21:53:34 |
hexa | either harmonia is down or nginx can't access the unix socket | 21:53:48 |
hexa | Redacted or Malformed Event | 21:54:01 |
hexa | Redacted or Malformed Event | 21:54:10 |
@busti:leitstelle511.net | Well, time to find out how long it takes my PC to build Blender | 21:54:19 |
hexa | long. | 21:54:24 |
hexa | enjoy | 21:54:27 |
@busti:leitstelle511.net | It's been at it for 2 hours already :P | 21:54:41 |
Devin | how on earth do i get rid of it as a substituter though 😠i can't build a new config with it disabled because of the 502 | 21:55:07 |
@busti:leitstelle511.net | * It's been at it for 1 hour already :P | 21:55:25 |
hexa | edit nix.conf | 21:55:51 |
Gaétan Lepage | It's done indeed. I'm investigating | 21:56:19 |
Winter | it should definitely fall back to your other substituters or building from source | 21:56:22 |
Devin | just blows up | 21:56:36 |
Gaétan Lepage | * It's down indeed. I'm investigating | 21:57:45 |
graysontinker | Yeah, it just refuses to work. Looking at the code I'm not clear why though | 21:57:45 |
Devin | can't edit nix.conf—it's generated by nixos and lives in the nix store so it's readonly | 21:58:05 |
hexa | rm nix.conf | 21:58:25 |
hexa | or rather | 21:58:29 |
hexa | mv nix.conf{,.bak} | 21:58:33 |
Devin | DUH | 21:58:34 |
hexa | cp nix.conf{.bak,} | 21:58:41 |
hexa | and edit :D | 21:58:44 |
Devin | ty | 22:01:02 |
| Melody joined the room. | 22:04:40 |
Devin | okay so
$ diff /etc/nix/nix.conf < /etc/nix/nix.conf.bak
< substituters = https://nix-community.cachix.org/ https://cache.nixos.org/
---
> substituters = https://nix-community.cachix.org/ https://cache.nixos-cuda.org/ https://cache.nixos.org/
15c15
< trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
---
> trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=
$ nh os switch /home/devin/nix-config
error:
… while calling the 'head' builtin
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/attrsets.nix:1712:13:
1711| if length values == 1 || pred here (elemAt values 1) (head values) then
1712| head values
| ^
1713| else
… while evaluating the attribute 'value'
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/modules.nix:1166:7:
1165| // {
1166| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1167| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `home-manager.users.devin.home.file':
… while evaluating definitions from `/nix/store/54pwggrv42vxx9bj6rlccq2dk6cazrj5-source/modules/hm':
… while evaluating the option `home-manager.users.devin.programs.nixcord.config.themes':
… while evaluating definitions from `/nix/store/vvhsnhz2c15zdcdj1vchhcwixd4pxspy-source/global/graphical/discord.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: unable to download 'https://cache.nixos-cuda.org/64p5qz6fkdvvyd5j21g8fvs822jiw0ih.narinfo': HTTP error 502
| 22:05:31 |
Devin | * okay so
$ diff /etc/nix/nix.conf < /etc/nix/nix.conf.bak
< substituters = https://nix-community.cachix.org/ https://cache.nixos.org/
---
> substituters = https://nix-community.cachix.org/ https://cache.nixos-cuda.org/ https://cache.nixos.org/
15c15
< trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
---
> trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=
$ nh os switch /home/devin/nix-config
error:
… while calling the 'head' builtin
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/attrsets.nix:1712:13:
1711| if length values == 1 || pred here (elemAt values 1) (head values) then
1712| head values
| ^
1713| else
… while evaluating the attribute 'value'
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/modules.nix:1166:7:
1165| // {
1166| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1167| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `home-manager.users.devin.home.file':
… while evaluating definitions from `/nix/store/54pwggrv42vxx9bj6rlccq2dk6cazrj5-source/modules/hm':
… while evaluating the option `home-manager.users.devin.programs.nixcord.config.themes':
… while evaluating definitions from `/nix/store/vvhsnhz2c15zdcdj1vchhcwixd4pxspy-source/global/graphical/discord.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: unable to download 'https://cache.nixos-cuda.org/64p5qz6fkdvvyd5j21g8fvs822jiw0ih.narinfo': HTTP error 502
| 22:05:44 |
Devin | * okay so
$ diff /etc/nix/nix.conf < /etc/nix/nix.conf.bak
13c13
< substituters = https://nix-community.cachix.org/ https://cache.nixos.org/
---
> substituters = https://nix-community.cachix.org/ https://cache.nixos-cuda.org/ https://cache.nixos.org/
15c15
< trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
---
> trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=
$ nh os switch /home/devin/nix-config
error:
… while calling the 'head' builtin
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/attrsets.nix:1712:13:
1711| if length values == 1 || pred here (elemAt values 1) (head values) then
1712| head values
| ^
1713| else
… while evaluating the attribute 'value'
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/modules.nix:1166:7:
1165| // {
1166| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1167| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `home-manager.users.devin.home.file':
… while evaluating definitions from `/nix/store/54pwggrv42vxx9bj6rlccq2dk6cazrj5-source/modules/hm':
… while evaluating the option `home-manager.users.devin.programs.nixcord.config.themes':
… while evaluating definitions from `/nix/store/vvhsnhz2c15zdcdj1vchhcwixd4pxspy-source/global/graphical/discord.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: unable to download 'https://cache.nixos-cuda.org/64p5qz6fkdvvyd5j21g8fvs822jiw0ih.narinfo': HTTP error 502
| 22:06:28 |