-
Notifications
You must be signed in to change notification settings - Fork 46
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 flake.nix #114
add flake.nix #114
Conversation
Oh, heads up that this can be tested via |
Nah, I'll definitely install Nix :) |
You can test this PR with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and working as intended
Nix is a declarative package manager used by myself and many of our users. This PR lets Nix users try 3mux by simply running:
This is made possible by replacing
shell.nix
withflake.nix
, which supports some cool features in Nix 2.4 like the command above.Sadly, to a non-Nix-user, the code in this PR is undecipherable. In the Nix world, the
flake.nix
added here is fairly standard, withdefaultPackage
specifying the default package (fornix shell github:aaronjanse/3mux
) anddefaultApp
specifying the default executable (fornix run github:aaronjanse/3mux
).