Created
August 25, 2022 01:30
-
-
Save 0xperp/47fc9be19bf465cc3a41ffd39df6beb8 to your computer and use it in GitHub Desktop.
building a rust binary in nix for production
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# should include all of the packages that you need and produce a binary | |
nix-shell -p cargo libiconv openssl pkgconfig --run "cargo build --release" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment