cdepillabout / password

datatypes and functions for easily working with passwords in Haskell
http://hackage.haskell.org/package/password
55 stars 16 forks source link

Doctest failure: bytestring package not specified as dependency #2

Closed DanBurton closed 4 years ago

DanBurton commented 5 years ago
src/Data/Password.hs:67: failure in expression `import Data.ByteString (pack)'
expected:
 but got:
          <no location info>: error:
              Could not load module ‘Data.ByteString’
              It is a member of the hidden package ‘bytestring-0.10.9.0’.
              You can run ‘:set -package bytestring’ to expose it.
              (Note: this unloads all the modules in the current scope.)

Examples: 34  Tried: 2  Errors: 0  Failures: 1

I was able to reproduce this locally like so:

stack unpack password-0.1.0.0 && cd password-0.1.0.0
echo 'resolver: nightly-2019-09-29' > stack.yaml
stack build --test --bench --no-run-benchmarks --fast