I am trying to use the "data-files" mechanism, and the material works fine , except that the corresponding files are not copied to the share/ directory. for example my .cabal file looks like this:
name: nano-js version: 0.1.0.0 data-files: include/prelude.js
but after creating and installing the directory
.hsenv/cabal/share/nano-js-0.1.0.0
does not exist. So form requests
getDataFileName "include/prelude.js"
output a FilePath that does not exist
nanojs: /home/rjhala/research/liquid/.hsenv/cabal/share/nano-js-0.1.0.0/include/prelude.js: openFile: does not exist (No such file or directory)
Are additional keywords required to populate share/ ?
Or could that be a problem with hsenv ?
Thanks!
source share