Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Nix flake (draft) #3914

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add Nix flake (draft) #3914

wants to merge 1 commit into from

Conversation

Octelly
Copy link

@Octelly Octelly commented Apr 26, 2024

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.

@actionless
Copy link
Member

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

@sclu1034
Copy link
Contributor

sclu1034 commented Apr 29, 2024

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.

@Octelly
Copy link
Author

Octelly commented May 1, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants