You can use the Guix package manager on top of any distribution and get declarative builds. <a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;guix&#x2F;manual&#x2F;html_node&#x2F;Invoking-guix-package.html" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;guix&#x2F;manual&#x2F;html_node&#x2F;Invoking-...</a> 
Like the main GNU page says, it&#x27;s not distribution ready, but it&#x27;s close. In fact if you run it on top of Arch (just install the minimal requirements via pacman, then defer to guix) or Alpine you&#x27;ve pretty much got your minimal distribution with declarative package management.