!9IQChSjwSHXPPWTa:lix.systems

Lix

1120 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms302 Servers

Load older messages


SenderMessageTime
31 Jan 2026
@aloisw:julia0815.dealoisw 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

There are no newer messages yet.


Back to Room ListRoom Version: 10