diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,15 +1,25 @@
 # Changelog for som
 
+10.1.8 Revamped to work with Nix + cabal-install.
+
 10.1.7 Revamped to work with Nix + Stack.
+
 10.1.6 Removed SGM2 and SGM3; they aren't ready for use.
+
 10.1.5 Bug fix in SGM3.
+
 10.1.4 Modified SGM3 to work with limited range floating point types.
+
 10.1.3 Added SGM3.
+
 10.1.2 Fixed a warning.
        Added SGM2.
+
 10.1.1 Fixed a warning.
        Added more documentation.
+
 10.0.1 Upgraded to Stackage lts-12.16.
+
 10.0.0 Revamped to work with Stack v1.7.1.
 
 ## Unreleased changes
diff --git a/som.cabal b/som.cabal
--- a/som.cabal
+++ b/som.cabal
@@ -1,31 +1,20 @@
-cabal-version: 1.12
-
--- This file has been generated from package.yaml by hpack version 0.31.1.
---
--- see: https://github.com/sol/hpack
---
--- hash: 3c9457bd4426a40df79bc13a735568abfc7b715dbfdc163abb44ef4927140f6e
-
-name:           som
-version:        10.1.7
-synopsis:       Self-Organising Maps
-description:    Please see the README on GitHub at <https://github.com/mhwombat/som#readme>
-category:       Math
-homepage:       https://github.com/mhwombat/som#readme
-bug-reports:    https://github.com/mhwombat/som/issues
-author:         Amy de Buitléir
-maintainer:     amy@nualeargais.ie
-copyright:      2012-2018 Amy de Buitléir
-license:        BSD3
-license-file:   LICENSE
-build-type:     Simple
+name:                som
+version:             10.1.8
+synopsis:            Self-Organising Maps
+description:         Please see the README on GitHub at <https://github.com/mhwombat/som#readme>
+homepage:            https://github.com/mhwombat/som#readme
+license:             BSD3
+license-file:        LICENSE
+author:              Amy de Buitléir
+maintainer:          amy@nualeargais.ie
+copyright:           2012-2018 Amy de Buitléir
+category:            Math
+bug-reports:         https://github.com/mhwombat/som/issues
+build-type:          Simple
 extra-source-files:
     README.md
     ChangeLog.md
-
-source-repository head
-  type: git
-  location: https://github.com/mhwombat/som
+cabal-version:       >=1.10
 
 library
   exposed-modules:
@@ -44,9 +33,9 @@
   ghc-options: -Wall
   build-depends:
       base >=4.7 && <5
-    , containers
-    , deepseq
-    , grid
+    , containers ==0.5.* || ==0.6.*
+    , deepseq ==1.4.*
+    , grid >=7.8.12 && <7.9
   default-language: Haskell2010
 
 test-suite som-test
@@ -63,7 +52,7 @@
   ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
   build-depends:
       QuickCheck
-    , base >=4.7 && <5
+    , base >=4.6 && <5
     , containers
     , deepseq
     , grid
