-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add nix flake #1
Conversation
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.
Cross-compilation from darwin does not work; outputs darwin executable
Building Also, how are you supposed to use the |
for some reason i thought this would make a macos docker image...lol
see above; i've slightly changed the approach here since we only really need these for docker images and compiling to a static linux binary |
this allows for docker builds to be triggered & tested through ci for prs, without the risk of uploading the image (or getting annoyed with skipped jobs)
rip |
this adds a standard nix flake for building both the binary and docker image - all with cross compiling from any system to x86_64 and aarch64
another nice change is redis can now be run from a devShell by entering it and running
daemons
(see the comment in./nix/dev.nix
)