Yuxuan Shui yshui
  • Joined on 2024-09-21
yshui commented on issue lix-project/lix#529 2024-10-20 23:17:13 +00:00
Assertion failure in nix::flake::fetchOrSubstituteTree

That's creative.

Thanks XD

For context I have a bunch of patches on top of upstream nixpkgs, which is applied with applyPatches and store in nix store. I want all downstream flakes to…

yshui commented on issue lix-project/lix#529 2024-09-26 15:25:35 +00:00
Assertion failure in nix::flake::fetchOrSubstituteTree

And normally nix copies the store path if you use the output of a derivation as input, unless you name the derivation "source". Basically what I already explained in my OP.

yshui commented on issue lix-project/lix#529 2024-09-26 15:23:44 +00:00
Assertion failure in nix::flake::fetchOrSubstituteTree

@jade

It implies that we can have a fetcher grab an input (and do so successfully) with a different narHash attribute than the one in originalRef.input

This is not what this assertion…

yshui commented on issue lix-project/lix#529 2024-09-26 15:12:54 +00:00
Assertion failure in nix::flake::fetchOrSubstituteTree

sorry I gc'd and doesn't have the original executable anymore. maybe if it happens again i can get the info for you.

yshui created branch debug in yshui/lix 2024-09-26 15:06:27 +00:00
yshui pushed to debug at yshui/lix 2024-09-26 15:06:27 +00:00
yshui deleted tag tag from yshui/lix 2024-09-26 15:06:14 +00:00
yshui pushed tag tag to yshui/lix 2024-09-26 15:05:27 +00:00
yshui created repository yshui/lix 2024-09-26 15:02:20 +00:00
yshui commented on issue lix-project/lix#529 2024-09-21 11:34:21 +00:00
Assertion failure in nix::flake::fetchOrSubstituteTree

Note I somehow can't reliably reproduce this, perhaps due to caching or some other oddities.

Here is a stack trace for the assertion failure:

(gdb) bt
#0  0x00007a92cc49b7dc in…
yshui opened issue lix-project/lix#529 2024-09-21 11:03:45 +00:00
Assertion failure in nix::flake::fetchOrSubstituteTree