!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

437 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.143 Servers

Load older messages


SenderMessageTime
6 May 2026
@blokyk:matrix.orgzoë (@blokyk)

hash 'qwshrp27a7s6cp7l1ambcrmanlmdzg9v' has wrong length for hash type 'sha256'

:(

09:48:39
@blokyk:matrix.orgzoë (@blokyk) *

hash 'qwshrp27a7s6cp7l1ambcrmanlmdzg9v' has wrong length for hash type 'sha256'

i specifically want a sha256 :(

10:00:54
@flokli:matrix.orgflokliThe hash you see in front of a store path is not a sha256 digest 10:21:58
@flokli:matrix.orgflokliIf you prefer looking at some rust code with maybe more comments, nix_compat has all that factored out. So you see how it is constructed, both for CA paths (FODs) or input-addressed paths: https://snix.dev/rustdoc/src/nix_compat/store_path/utils.rs.html#124-13710:23:40
@flokli:matrix.orgflokliThere's only 20 bytes in a store path: https://snix.dev/rustdoc/nix_compat/store_path/struct.StorePath.html10:28:07
@flokli:matrix.orgflokli(the previously linked file has the compress_hash impl too.10:28:26
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @blokyk:matrix.org

hash 'qwshrp27a7s6cp7l1ambcrmanlmdzg9v' has wrong length for hash type 'sha256'

i specifically want a sha256 :(

Do you want a narHash maybe?
10:32:35
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Ie input address vs output hash10:33:14
@blokyk:matrix.orgzoë (@blokyk) i'm trying to improve the error message for builtins.path's hash mismatch error: https://git.lix.systems/lix-project/lix/src/commit/010d0629261248ad846f9f12b356053514e464eb/lix/libexpr/primops.cc#L1819 10:37:52
@blokyk:matrix.orgzoë (@blokyk) so this should be the value of outputHash if this was a normal dérivation 10:38:25
@blokyk:matrix.orgzoë (@blokyk)ideally without having to re-hash the path a second time ^^;10:38:40
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) You can do a queryPathInfo from the store and get the narHash that way. But there’s no way to get the flat hash without recomputing. Or maybe looking at the ca field in the path info? Not sure what the state of it is lix though 10:53:38
@mrspits4ever:matrix.orgmrspits4ever joined the room.20:06:17
@just1602:systemli.orgjust1602Does git.lix.systems load on your side? It doesn't load here.21:56:44
@hexa:lossy.networkhexa
Download
21:58:30
@hexa:lossy.networkhexacpu goes brrrrrrr21:58:33
@just1602:systemli.orgjust1602:(21:58:46
@just1602:systemli.orgjust1602LLM bots hammering again?21:58:52
@raitobezarius:matrix.orgraitobezariusYes22:00:23
@raitobezarius:matrix.orgraitobezarius https://zulip.afnix.fr/#narrow/channel/4-infra/topic/Lix.20Forgejo.20is.20being.20hammered.20of.20Git.20operations/near/40315 22:00:29
@hexa:lossy.networkhexa raitobezarius my friend, is this reaction? 23:41:03
@hexa:lossy.networkhexahow costly is reaction on the lix infra?23:41:18
@hexa:lossy.networkhexaRedacted or Malformed Event23:41:34
@delroth:delroth.netdelroth reaction does nothing on the lix infra because raitobezarius decided to be fancy and inflict v6-only on us 23:42:09
@hexa:lossy.networkhexareasonable23:42:18
@delroth:delroth.netdelrotharguably23:42:36
@hexa:lossy.networkhexaI tried it for hydra and it banned over 50k cidrs (/24 and /48) in a day23:42:52
@hexa:lossy.networkhexaand choked on restoring those on restart23:42:58
@hexa:lossy.networkhexaRedacted or Malformed Event23:43:16
7 May 2026
@jykrwn_bot:matrix.orgjykrwn_bot joined the room.09:10:46

Show newer messages


Back to Room ListRoom Version: 10