diff --git a/Text/WordPass.hs b/Text/WordPass.hs
--- a/Text/WordPass.hs
+++ b/Text/WordPass.hs
@@ -4,7 +4,7 @@
 
 import           Data.Ratio
 import           System.IO       (hFlush, stdout)
-import           System.Directory(getDirectoryContents, searchable, executable, readable, getPermissions)
+import           System.Directory hiding (isSymbolicLink)
 import           System.FilePath ((</>), takeDirectory)
 import qualified Data.Text    as Text
 import qualified Data.Text.IO as Text
@@ -22,7 +22,7 @@
 import           Control.Applicative
 import           Control.Monad       (replicateM, foldM, filterM)
 import           Control.DeepSeq
-import           System.PosixCompat
+import           System.PosixCompat  (isSymbolicLink, readSymbolicLink, getSymbolicLinkStatus)
 
 -- | Explanatory type alias for the type of wordlists during preprocessing.
 type WordSet  = Set.Set Text
diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,8 +1,13 @@
 -*-Changelog-*-
+
+1.0.0.7  Nov 2016
+        * Updated to directory-1.2.6.2 on GHC 8.0.
+        * Added stack recipe.
+
 1.0.0.6  Jun 2016
-	* Updated imports for GHC 8.0.
+        * Updated imports for GHC 8.0.
 
-1.0.0.5  Jun 2016
+1.0.0.5  May 2016
 	* Updated bounds for GHC 8.0.
 
 1.0.0.4  Jul 2015
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,67 @@
+# This file was automatically generated by 'stack init'
+#
+# Some commonly used options have been documented as comments in this file.
+# For advanced use and comprehensive documentation of the format, please see:
+# http://docs.haskellstack.org/en/stable/yaml_configuration/
+
+# Resolver to choose a 'specific' stackage snapshot or a compiler version.
+# A snapshot resolver dictates the compiler version and the set of packages
+# to be used for project dependencies. For example:
+#
+# resolver: lts-3.5
+# resolver: nightly-2015-09-21
+# resolver: ghc-7.10.2
+# resolver: ghcjs-0.1.0_ghc-7.10.2
+# resolver:
+#  name: custom-snapshot
+#  location: "./custom-snapshot.yaml"
+resolver: lts-7.8
+
+# User packages to be built.
+# Various formats can be used as shown in the example below.
+#
+# packages:
+# - some-directory
+# - https://example.com/foo/bar/baz-0.0.2.tar.gz
+# - location:
+#    git: https://github.com/commercialhaskell/stack.git
+#    commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
+# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
+#   extra-dep: true
+#  subdirs:
+#  - auto-update
+#  - wai
+#
+# A package marked 'extra-dep: true' will only be built if demanded by a
+# non-dependency (i.e. a user package), and its test suites and benchmarks
+# will not be run. This is useful for tweaking upstream packages.
+packages:
+#- haskeleton/
+- '.'
+# Dependency packages to be pulled from upstream that are not in the resolver
+# (e.g., acme-missiles-0.3)
+extra-deps: []
+
+# Override default flag values for local packages and extra-deps
+flags: {}
+
+# Extra package databases containing global packages
+extra-package-dbs: []
+
+# Control whether we use the GHC we find on the path
+# system-ghc: true
+#
+# Require a specific version of stack, using version ranges
+# require-stack-version: -any # Default
+# require-stack-version: ">=1.2"
+#
+# Override the architecture used by stack, especially useful on Windows
+# arch: i386
+# arch: x86_64
+#
+# Extra directories used by stack for building
+# extra-include-dirs: [/path/to/dir]
+# extra-lib-dirs: [/path/to/dir]
+#
+# Allow a newer minor version of GHC than the snapshot specifies
+# compiler-check: newer-minor
diff --git a/wordpass.cabal b/wordpass.cabal
--- a/wordpass.cabal
+++ b/wordpass.cabal
@@ -1,5 +1,5 @@
 name:                wordpass
-version:             1.0.0.6
+version:             1.0.0.7
 synopsis:            Dictionary-based password generator
 description:         This script reads dict word lists and generates word-based passwords.
                      Not unlike <http://xkcd.com/936/ xkcd>.
@@ -19,10 +19,10 @@
 copyright:           Michal J. Gajda 
 category:            Cryptography, System, Password, Tools
 build-type:          Simple
-extra-source-files:  README.md changelog
+extra-source-files:  README.md changelog stack.yaml
 cabal-version:       >=1.10
 stability:           stable
-tested-with:         GHC==7.8.3
+tested-with:         GHC==8.0.1
 
 source-repository head
   type:     git
@@ -36,7 +36,7 @@
                        text          >=1.1  && <1.4,
                        containers    >=0.5  && <0.6,
                        random-fu     >=0.2  && <0.3,
-                       random-source >=0.3  && <0.5,
+                       random-source >=0.3  && <0.4,
                        vector        >=0.10 && <0.12,
                        directory     >= 1.2 && <1.4,
                        unix-compat   >= 0.4 && <0.5,
@@ -63,3 +63,4 @@
   ghc-options:         -O3 
   -- hs-source-dirs:      
   default-language:    Haskell2010
+
