captainkangaroo@discuss.tchncs.de to Nix / NixOS@programming.devEnglish · 2 months agoGit hashes in Nixwastedintel.caexternal-linkmessage-square2fedilinkarrow-up15arrow-down10file-text
arrow-up15arrow-down1external-linkGit hashes in Nixwastedintel.cacaptainkangaroo@discuss.tchncs.de to Nix / NixOS@programming.devEnglish · 2 months agomessage-square2fedilinkfile-text
minus-squarebalsoft@lemmy.mllinkfedilinkEnglisharrow-up4·2 months agoNot 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.
minus-squarecaptainkangaroo@discuss.tchncs.deOPlinkfedilinkEnglisharrow-up2·2 months agoNot the author. But thank you, I didn’t know that.
Not sure if you’re the author, but I think a
self.shortRev
attribute is also provided, so that you don’t have tobuiltins.substring
yourself.Not the author. But thank you, I didn’t know that.