diff --git a/stack2nix.cabal b/stack2nix.cabal
--- a/stack2nix.cabal
+++ b/stack2nix.cabal
@@ -1,5 +1,5 @@
 name:                stack2nix
-version:             0.1.1.0
+version:             0.1.2.0
 synopsis:            Convert stack.yaml files into Nix build instructions.
 description:         Convert stack.yaml files into Nix build instructions.
 license:             MIT
@@ -18,21 +18,21 @@
 library
   hs-source-dirs:      src
   build-depends:       base >=4.9 && <4.10
-                     , Cabal
-                     , async
-                     , bytestring
-                     , containers
-                     , data-fix
-                     , directory
-                     , filepath
-                     , Glob
-                     , hnix >= 0.3.4
-                     , monad-parallel
-                     , process
-                     , SafeSemaphore
-                     , temporary
-                     , text
-                     , yaml
+                     , Cabal >= 1.24.2 && < 1.25
+                     , async >= 2.1.1.1 && < 2.2
+                     , bytestring >= 0.10.8.1 && < 0.11
+                     , containers >= 0.5.7.1 && < 0.6
+                     , data-fix == 0.0.4
+                     , directory >= 1.3 && < 1.4
+                     , filepath >= 1.4.1.1 && < 1.5
+                     , Glob >= 0.7.14 && < 0.8
+                     , hnix >= 0.3.4 && < 0.4
+                     , monad-parallel >= 0.7.2.2 && < 0.8
+                     , process >= 1.4.3 && < 1.5
+                     , SafeSemaphore >= 0.10.1 && < 0.11
+                     , temporary >= 1.2.0.4 && < 1.3
+                     , text >= 1.2.2.1 && < 1.3
+                     , yaml >= 0.8.22.1 && < 0.9
   exposed-modules:     Stack2nix
   other-modules:       Stack2nix.External
                      , Stack2nix.External.Cabal2nix
@@ -46,9 +46,9 @@
 executable stack2nix
   main-is:             Main.hs
   build-depends:       base >=4.9 && <4.10
-                     , Cabal
+                     , Cabal >= 1.24.2 && < 1.25
                      , stack2nix
-                     , optparse-applicative
+                     , optparse-applicative >= 0.13.2 && < 0.14
   hs-source-dirs:      stack2nix
   ghc-options:         -Wall
   default-language:    Haskell2010
