nix-community / nixpkgs-wayland

Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]
502 stars 45 forks source link

template.nix: change version format to `+${substring 0 7 metadata.rev}` #379

Closed Artturin closed 1 year ago

Artturin commented 1 year ago

format is similar to RFC https://github.com/NixOS/rfcs/pull/107

+g is not used because we also have hg sources

fixes https://github.com/nix-community/nixpkgs-wayland/issues/282 (though i couldn't replicate the issue (but it still fixes builtins.parseDrvName))

colemickens commented 1 year ago

too many RFCs to keep up with... but I think it's fine. thanks!