News for hackers. Stuff that matters.
Re:Guix for Development by esperent on Sunday January 25, 2026 @10:52PM (#46761686)
> Dockerfiles are clunky and the rather extreme level of isolation is usually unnecessary and makes things overly complicated

I agree, for local development docker is often overkill.

However, for production it's absolutely not overkill. And since pretty much all projects are intended for production at some point, they'll need a Dockerfile and docker compose or some other equivalent.

And at that point, you're maintaining the Dockerfile anyway, so why not use it for local dev as well? That way your dev and production environments can be close to identical.

Guix looks nice - probably nicer than docker for dev work. But is it nice enough to justify maintaining two separate systems and have your dev and production diverge?

Re:Guix for Development by dominicm on Sunday January 25, 2026 @11:32PM (#46761899)
While not directly mentioned in this article, guix pack[1] allows you to distribute your software in multiple formats, including Docker images.

The general philosophy of Guix is to have a single definition for how to build your software and use it for the entire dev to production pipeline.

[1]: https://guix.gnu.org/manual/1.5.0/en/html_node/Invoking-guix...

Re:Guix for Development by skavi on Sunday January 25, 2026 @11:36PM (#46761919)
In Nix (and, I’d assume, for Guix) you can go the other way around: https://mitchellh.com/writing/nix-with-dockerfiles.

As a side benefit, the generated docker image can be very tiny.

Re:Guix for Development by valorzard on Monday January 26, 2026 @03:12AM (#46763059)
Yeah Guix has a Dockerfile export
Re:Guix for Development by otabdeveloper4 on Monday January 26, 2026 @06:17AM (#46764294)
You'd be nuts to run the Docker daemon anywhere near production.
Re:Guix for Development by afarviral on Monday January 26, 2026 @10:48PM (#46775287)
Why is that? I also used to hold this opinion, but we use it for 99% of our production deployments (or k8s where we need it) and it has been maximally reliable, and super convenient for fault-finding. Maybe I didn't understand your take.
Re:Guix for Development by dolmen on Monday January 26, 2026 @03:25PM (#46771003)
Your production deployment might be done with container images, but Dockerfile is not the only way to build them. Guix has builtin support to build container images without Dockerfile.