awesome
awesome copied to clipboard
Add Nix flake (draft)
I believe Nix is a helpful tool for both development as well as a (at least for some) comfortable package manager. Having an official Nix flake in the repo is nowadays pretty common (e.g. the Neovim and Prism Launcher repos do this) and can be beneficial to Nix users and developers alike.
The current revision builds just fine on my Arch Linux install, however it is by no means finished and I am looking for feedback. The flake was heavily inspired by Neovim's flake.
i'd suggest you having it in a separate repo - because following your logic that "some other popular apps have it" - we must also add PKGBUILD for Arch and etc
Having an official Nix flake in the repo is nowadays pretty common
by projects that either have maintainers using this themselves, or enough contributors that do.
Keep in mind that it's very easy to drop a currently working version with a PR. But from the maintainers' perspective, that's something that needs to be maintained for years to come, while the initial authors rarely stick around to keep their stuff up-to-date themselves.
As far as I'm aware, none of the active maintainers use Nix(OS) enough that something "official" would be feasible.
@actionless Nix is a general build tool, not a packaging system for a specific OS/distro. Of course I wouldn't want a PKGBUILD to be added.
@sclu1034 You're probably right. I'd love Awesome to have a Nix flake, but I haven't even used Awesome myself in quite a while. I originally made this for @Aproxia-dev (I believe she previously contributed to this repo), who complained about building Awesome under NixOS being a hassle, so I quickly coded this (since I have more Nix experience), hoping I could help some people out.