!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

796 Members
160 Servers

Load older messages


SenderMessageTime
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
@dramforever:matrix.orgdramforever

this paints a pretty clear picture of what's going on:

       … while evaluating derivation 'home-manager-generation'
       … while evaluating derivation 'home-manager-files'
       … while evaluating derivation 'man-cache'
       … while evaluating derivation 'man-paths'
       … while evaluating derivation 'heroic-2.16.1'
       … while evaluating derivation 'heroic-2.16.1-bwrap'
       … while evaluating derivation 'heroic-2.16.1-fhsenv-rootfs'
       … while evaluating derivation 'alsa-plugins-1.2.12'
       … while evaluating derivation 'ffmpeg-7.1.1'
       … while evaluating derivation 'libbluray-1.3.4'
       … while evaluating derivation 'openjdk-17.0.14+7'
03:14:56
@dramforever:matrix.orgdramforeverheroic depends on 32-bit versions of various stuff, which eventually goes to ffmpeg, which depends on libbluray03:15:25
@dramforever:matrix.orgdramforeverbut an overlay of yours made libbluray depend on java03:15:40
@dramforever:matrix.orgdramforeveri don't know enough about your use case but what i would do is to override whatever you actually use for bluray to use the overridden libbluray03:17:13
@alisonjenkins:matrix.orgAlison Jenkins
In reply to @dramforever:matrix.org
i don't know enough about your use case but what i would do is to override whatever you actually use for bluray to use the overridden libbluray
I will temporarily disable that and see if it helps. The reason for the Java is the Blu-ray menus
06:09:35
@alisonjenkins:matrix.orgAlison JenkinsI disabled the overlay for the libbluray and this is the new stack trace06:40:04
@alisonjenkins:matrix.orgAlison JenkinsDownload stacktrace.txt06:40:11
@alisonjenkins:matrix.orgAlison Jenkinsseems to be still getting hung up on libbluray06:40:55
@tiferrei:matrix.orgtiferrei joined the room.20:52:27
@blue_flycatcher:matrix.orgblue_flycatcher joined the room.21:29:38
1 Jun 2025
@harrythe13th:matrix.org@harrythe13th:matrix.org removed their display name HarryThe13th.07:52:23
@harrythe13th:matrix.org@harrythe13th:matrix.org left the room.07:52:29
@jeancaspar:matrix.orgjeancaspar joined the room.23:33:09
@seanthw:matrix.orgSean Thawe joined the room.23:38:14
3 Jun 2025
@madisetti:matrix.orgdylan joined the room.03:42:48
@mrstickypiston:matrix.orgMrStickyPiston joined the room.09:25:48
@mrstickypiston:matrix.orgMrStickyPistonWhat exactly will be updated when running the auto update and using flakes?09:27:43

Show newer messages


Back to Room ListRoom Version: 6