#nix

6 articles tagged #nix. All tags

Extra credit We’ve achieved our goals already with this series: we have a web service written in Rust, built into a Docker image with nix, with a nice dev shell, that we can deploy to fly.io. But there’s always… 9 min Generating a docker image with nix There it is. The final installment. Over the course of this series, we’ve built a very useful Rust web service that shows us colored ASCII art cats, and we’ve packaged it with docker, and deployed it… 16 min Making a dev shell with nix flakes In the previous chapter, we’ve made a nix “dev shell” that contained the fly.io command-line utility, “flyctl”. That said, that’s not how I want us to define a dev shell. Our current solution has… 16 min Learning Nix from the bottom up Remember the snapshot we made allll the way back in Part 1? Now’s the time to use it. Well, make sure you’ve committed and pushed all your changes, but when you’re ready, let’s go back in time to… 25 min Building a Rust service with Nix I often give bits and pieces of advice on how to build Rust stuff the comfy way. But it can be hard to see how everything comes together, especially when it comes to, say, deploying a web service in… 3 h 1 min Trying to use nix Now that my website is deployed as a container image, I wanted to give nix a try. I’m still doing it the old-fashioned way right now: with a Dockerfile, running cargo in a “builder” image, copying… 3 min