diff --git a/bin/nix-build-and-cache b/bin/nix-build-and-cache
index 5ba5991ae90664be0ebc5307e06daeb5c6754524..8487c29885105b058e3f31294b7582ddd3d99d45 100755
--- a/bin/nix-build-and-cache
+++ b/bin/nix-build-and-cache
@@ -6,7 +6,7 @@ set -euo pipefail
 INSTALLABLE="$1"
 
 # Build the installable and forward any other arguments too
-nix build "$@"
+nix build -L "$@"
 
 if [ ! -z "$ATTIC_TOKEN" ]; then
     nix run --inputs-from . attic -- \