diff --git a/flake.nix b/flake.nix
index f5feba570df0b1b4aec8cd7a77f11c664b788aca..cc2531248b496c8e322a472788860b38f0d8d648 100644
--- a/flake.nix
+++ b/flake.nix
@@ -58,7 +58,7 @@
 
             text = ''
               cabal update hackage.haskell.org
-              cabal build
+              cabal build all
               cabal run tests
             '';
           }