diff --git a/doc/nix-local-build.rst b/doc/nix-local-build.rst
index 19cca22c9f3cae3be9515517cfa91b06b8298e86..af02bf2ac97b7ffb0ceede6553d76087ceb7643b 100644
--- a/doc/nix-local-build.rst
+++ b/doc/nix-local-build.rst
@@ -125,7 +125,7 @@ versions of packages that the this snapshot specifies:
 ::
 
     packages: .
-    import https://www.stackage.org/lts-19.2/cabal.config
+    import: https://www.stackage.org/lts-19.2/cabal.config
 
 Please note that project files do not get bundled in Cabal package tarballs,
 made using e.g. ``cabal sdist``. Project files are intended for use in local