this post was submitted on 25 Sep 2024
5 points (85.7% liked)

Nix / NixOS

1776 readers
1 users here now

Main links

Videos

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 month ago (1 children)

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.

[โ€“] [email protected] 2 points 1 month ago

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