!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

859 Members
177 Servers

Load older messages


SenderMessageTime
29 May 2025
@dramforever:matrix.orgdramforever what's your nix --version 01:40:18
@dramforever:matrix.orgdramforeverthis is an old nix bug that should be fixed01:40:34
@dramforever:matrix.orgdramforever* this looks like an old nix bug that should be fixed01:40:43
@alisonjenkins:matrix.orgAlison Jenkins I discovered during the update to 25.05 that despite my PC using the same Nix code base as my personal laptop that my PC is refusing to build the 25.05 derivation as it keeps throwing an error stating: error: unsupported CPU i686 and yet the system var is set to system = "x86_64-linux"; and the laptop is building using pretty much the same code. The CPU is a AMD Ryzen 9 7950X so it is definitely not some old i686 CPU. Does anyone know how I can debug this short of bisection? I have bisected as far as I can and also searched the repo for mention of i686 and there is nothing. 07:40:35
@alisonjenkins:matrix.orgAlison JenkinsSorry if this is the wrong channel for this question07:40:57
@alisonjenkins:matrix.orgAlison JenkinsThis one doesn't build: https://github.com/alisonjenkins/nix-config/blob/main/flake.nix#L203-L239 yet this one and all others do: https://github.com/alisonjenkins/nix-config/blob/main/flake.nix#L241-L27807:42:22
@alisonjenkins:matrix.orgAlison Jenkins* This one doesn't build: https://github.com/alisonjenkins/nix-config/blob/main/flake.nix#L203-L239 yet this one and all others do: https://github.com/alisonjenkins/nix-config/blob/main/flake.nix#L280-L32407:44:03
@rob.sliwi:matrix.orgrobsliwiAt first glance everything seems fine.. do you have some more stacktrace? What is throwing the error?09:27:31
@alisonjenkins:matrix.orgAlison JenkinsIt just shows it in most packages as it appears i686 support has been dropped on lots of the packages in Nixpkgs.09:46:21
@alisonjenkins:matrix.orgAlison JenkinsI will get you the stack trace but it doesn't really show anything useful09:46:32
@alisonjenkins:matrix.orgAlison JenkinsDownload stacktrace.txt09:48:16
@dramforever:matrix.orgdramforever can you try nix eval --raw --show-trace github:alisonjenkins/nix-config#nixosConfigurations.ali-desktop.config.system.build.toplevel 14:47:44
@dramforever:matrix.orgdramforeverthis should give you the full stack trace14:51:12
@dramforever:matrix.orgdramforeverand point to what is actually throwing the error14:51:20
@tihuang:matrix.orgDaniel Huang joined the room.20:46:55
30 May 2025
@gzhao:matrix.geonat.nzGeorge joined the room.12:14:17
23 Sep 2025
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nl left the room.07:35:25
30 May 2025
@ordnungswidrig-test:matrix.orgordnungswidrig joined the room.16:18:20
@ordnungswidrig-test:matrix.orgordnungswidrig

Hi all, I've got a flake that builds fine on all but one system. On that system I get a hash mismatch in the cache.

       >          specified: sha256:07klv1yi9hwav9j73afk2vhddxgmd3d57nmmbmzj3a5fphjwww41
       >          got:       sha256:0dghvnk7npd74jv359vpms76fpnigykd3v923jjr80hvccg4bi18

How to I debug this? I've updated the flake lock, I've tried unstable, 24.11 and 25.05 as the input source and nix store repair and more. I'm a little list.

16:19:30
@ordnungswidrig-test:matrix.orgordnungswidrig *

Hi all, I've got a flake that builds fine on all but one system. On that system I get a hash mismatch in the cache.

       >          specified: sha256:07klv1yi9hwav9j73afk2vhddxgmd3d57nmmbmzj3a5fphjwww41
       >          got:       sha256:0dghvnk7npd74jv359vpms76fpnigykd3v923jjr80hvccg4bi18

How to I debug this? I've updated the flake lock, I've tried unstable, 24.11 and 25.05 as the input source and nix store repair and more. I'm a little lost. Flake can be found here: https://gist.github.com/ordnungswidrig/55120535ab4a1e99cccdc76decac10c5

16:19:46
@alisonjenkins:matrix.orgAlison Jenkins Thanks dramforever sorry for the slow reply. Just running the command now 17:19:17
@alisonjenkins:matrix.orgAlison JenkinsDownload stacktrace.txt17:20:31
@alisonjenkins:matrix.orgAlison JenkinsI am looking through it but don't see anything interesting so far17:21:56
@dramforever:matrix.orgdramforever
In reply to @ordnungswidrig-test:matrix.org

Hi all, I've got a flake that builds fine on all but one system. On that system I get a hash mismatch in the cache.

       >          specified: sha256:07klv1yi9hwav9j73afk2vhddxgmd3d57nmmbmzj3a5fphjwww41
       >          got:       sha256:0dghvnk7npd74jv359vpms76fpnigykd3v923jjr80hvccg4bi18

How to I debug this? I've updated the flake lock, I've tried unstable, 24.11 and 25.05 as the input source and nix store repair and more. I'm a little lost. Flake can be found here: https://gist.github.com/ordnungswidrig/55120535ab4a1e99cccdc76decac10c5

try nix-hash --type sha256 /nix/store/9545lc12nznckmbrsgsjy5vhvgrj5i4n-getty on your various systems and see what they have?
17:22:10
@alisonjenkins:matrix.orgAlison JenkinsFrom my understanding of it it is basically just stating that it is evaluating the openjdk-17 package and that it doesn't support i68617:23:24
@alisonjenkins:matrix.orgAlison Jenkinsbut the problem is I don't know why it thinks it needs to be. I need to track down what is specifying we need i686.17:23:52
@martin:lndbl.deMartin Lindbüchl joined the room.18:11:33
31 May 2025
@dramforever:matrix.orgdramforever okay. granted, it's not the most easy to read, but what you can do is pare it down a bit. there are lines inserted in the trace like "… while evaluating". if we grep while it looks much more managable 03:14:09
@dramforever:matrix.orgdramforever we can get it down even further while evaluating derivation 03:14:25
@dramforever:matrix.orgdramforever * we can get it down even further with while evaluating derivation 03:14:30

Show newer messages


Back to Room ListRoom Version: 6