aloisw | The problem is that src (and consequently, also finalAttrs.src and something) are not strings, but paths. Similar to string interpolation, builtins.derivation will always copy paths to the store, even if they already happen to point into the store. So all of $src, $something and ${finalAttrs.src} will point at the double-hash path (no idea how you got something else for the latter, did a builtins.toString sneak in somehow?). On the other hand, you determine the name of the unpacked source using your stripHash function (https://github.com/RossSmyth/press/blob/d3eb2b2deee2116609f938b08fc86a48850b99c4/src/buildTypstDocument.nix#L18-L23), which calls builtins.baseNameOf which operates on the original path. | 06:00:42 |