Elm + Nix: A reproducible RealWorld clone

Published: (February 13, 2026 at 08:20 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Nix has infected my soul. I don’t know how else to describe it.

I refactored my RealWorld clone, dwayne/elm-conduit, to use Nix. It uses Nix for the development environment, building, serving, running checks, deploying, and CI.

Quick commands (requires Nix)

  • Frontend workshop environment

    nix run github:dwayne/elm-conduit#workshop
  • Sandbox

    nix run github:dwayne/elm-conduit#sandbox
  • Development version of the web app

    nix run github:dwayne/elm-conduit
  • Production version (same as the Netlify deployment)

    nix run github:dwayne/elm-conduit#prod

The Elm builds are all powered by dwayne/elm2nix.

The Classics

This completes my refactoring of “The Classics” to use Nix.

  • TodoMVCnix run github:dwayne/elm-todos#prod
    Repository:

  • Super Rentalsnix run github:dwayne/elm-super-rentals#prod
    Repository:

  • 7GUIsnix run github:dwayne/elm-7guis#prod
    Repository:

  • Conduitnix run github:dwayne/elm-conduit#prod
    Repository:

All of these projects now use Nix in the same way, providing a consistent workflow for combining Elm and Nix.

0 views
Back to Blog

Related posts

Read more »

Solving Cross-Origin Cookies

!Cover image for Solving Cross-Origin Cookieshttps://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-u...

Inertia.js Silently Breaks Your App

TL;DR After weeks in a production Laravel 12 + React 19 + Inertia v2 app, I repeatedly hit failure modes that were expensive to diagnose: overlapping visit can...