Nix is the ultimate DevOps toolkit
A lot of this sounds familiar to me— I maintain a hodgepodge build tool&#x2F;pipeline at my org whose current output is a monolithic mega-deb file which is becoming unwieldy on several fronts (storage, transfer, compression time). I&#x27;m really interested in the nix philosophy of separate paths and versioning by hash rather than number, but unfortunately my needs are quite specific, and not having actual experienced nix experts around is a barrier. The temptation right now is to roll our own solution which generates nix-style hash debs that otherwise cooperate with the larger Debian ecosystem we&#x27;re already very familiar with, but I could probably be sold on giving nix itself a closer look if I could hear from folks (or get pointers to documentation) on a few key points:<p>- What is the story in nix for packaging untagged branches of software, or reasoning about &quot;snapshots&quot; where pools of unreleased repos&#x2F;packages are able to be treated as a single versionable unit? (think not just a nightly build, but builds corresponding to unmerged feature branches, etc)<p>- Does the nix hash account for dependencies only changing the hash for ABI-impacting changes such as when a header file changes? Or does it change dependent hashes always? Or never?<p>- I have an existing system for managing packaging metadata which I don&#x27;t want to migrate from. How much trouble will I get into if I want to generate the metadata on the fly each time (as I currently do for my debs)?<p>- How much pain is it to roll a nix package &quot;by hand&quot; (basically with the dpkg-deb equivalent tool rather than the dpkg-buildpackage equivalent tool)?<p>- Nix isn&#x27;t supported in Artifactory (RTFACT-19998 has been open since 2019). Nominally, I can use the dumb WebDAV option, but is that going to affect my user experience and&#x2F;or will it be a maintenance headache?<p>- What is the apt&#x2F;nix interop story? I would likely need it to be bidirectional, so that my nix workspace could depend on system debs that I don&#x27;t want to port over, but also potentially have &quot;gateway&quot; debs which able to do the opposite, of depending on the nix workspace from a deb shim, and installing&#x2F;updating it in the postinst.<p>I&#x27;ve researched all of these in the past at various points and had a lot of trouble finding clear, straight answers on them. I&#x27;d love to hear from other users or nix experts, though, who could help calm our fears on this.