Git hashes in Nix

https://wastedintel.ca/2024/09/23/git-hashes-in-nix/

cross-posted from: https://discuss.tchncs.de/post/22584651

5 points · 2 comments · view on lemmy.world

2 Comments

balsoft@lemmy.ml · 4 pts · 1y (1 reply)

Not sure if you're the author, but I think a self.shortRev attribute is also provided, so that you don't have to builtins.substring yourself.

captainkangaroo@discuss.tchncs.de · 2 pts · 1y

Not the author. But thank you, I didn't know that.