captainkangaroo@discuss.tchncs.de to Nix / NixOS@programming.devEnglish · 2 months agoGit hashes in Nixwastedintel.caexternal-linkmessage-square2fedilinkarrow-up15arrow-down11file-textcross-posted to: nixos@infosec.pub
arrow-up14arrow-down1external-linkGit hashes in Nixwastedintel.cacaptainkangaroo@discuss.tchncs.de to Nix / NixOS@programming.devEnglish · 2 months agomessage-square2fedilinkfile-textcross-posted to: nixos@infosec.pub
minus-squarebalsoftlinkfedilinkEnglisharrow-up3·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-up1·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.