Manolis Ragkousis skribis: > When I try to patch tar I get "(vm-run "VM: Stack overflow" ())", > probably, because it tries to use patch but it does not yet exist and > I get the chicken-egg problem. Indeed. The problem was that, by default, source patching in ‘patch-and-repack’ would use not the tar from ‘%final-inputs’, but the tar built with ‘%final-inputs’. Hence the circular dependency: to apply the patch of this tar, we would first need to built it. So you first need this patch: