Skip to content

Instantly share code, notes, and snippets.

@kaychaks
Created November 28, 2018 06:22
Show Gist options
  • Save kaychaks/cebf8c9edba85744f04fbadce87b4aa5 to your computer and use it in GitHub Desktop.
Save kaychaks/cebf8c9edba85744f04fbadce87b4aa5 to your computer and use it in GitHub Desktop.
nix-shell ghc862 error
installing
/private/var/folders/4m/8lbd4pzn2z73b5zjzbbpc0tc0000gn/T/nix-build-python3.7-docutils-0.14.drv-0/docutils-0.14/dist /private/var/folders/4m/8lbd4pzn2z73b5zjzbbpc0tc0000gn/T/nix-build-python3.7-docutils-0.14.drv-0/docutils-0.14
Processing ./docutils-0.14-py3-none-any.whl
Installing collected packages: docutils
Successfully installed docutils-0.14
/private/var/folders/4m/8lbd4pzn2z73b5zjzbbpc0tc0000gn/T/nix-build-python3.7-docutils-0.14.drv-0/docutils-0.14
post-installation fixup
strip is /nix/store/rk3p99jbj4idl3dkkg1rxja5gz0qgs98-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/lib /nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin
patching script interpreter paths in /nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2xetex.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2latex.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2odt_prepstyles.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2html4.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2html5.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2xml.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2odt.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2pseudoxml.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2s5.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2html.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rst2man.py'...
wrapping `/nix/store/48ar23qv0j3lc75dyidy7m1llij783wg-python3.7-docutils-0.14/bin/rstpep2html.py'...
running install tests
Traceback (most recent call last):
File "test3/alltests.py", line 80, in <module>
suite = suite()
File "test3/alltests.py", line 69, in suite
'test_', packages=1)
File "/private/var/folders/4m/8lbd4pzn2z73b5zjzbbpc0tc0000gn/T/nix-build-python3.7-docutils-0.14.drv-0/docutils-0.14/test3/package_unittest.py", line 101, in loadTestModules
module = import_module(mod)
File "/private/var/folders/4m/8lbd4pzn2z73b5zjzbbpc0tc0000gn/T/nix-build-python3.7-docutils-0.14.drv-0/docutils-0.14/test3/package_unittest.py", line 132, in import_module
mod = __import__(name)
File "/private/var/folders/4m/8lbd4pzn2z73b5zjzbbpc0tc0000gn/T/nix-build-python3.7-docutils-0.14.drv-0/docutils-0.14/test3/test_command_line.py", line 19, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/nix/store/ky86n177vy9h4vi62vjzsv96b4pywiwv-python3-3.7.1/lib/python3.7/locale.py", line 587, in getlocale
return _parse_localename(localename)
File "/nix/store/ky86n177vy9h4vi62vjzsv96b4pywiwv-python3-3.7.1/lib/python3.7/locale.py", line 495, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8
builder for '/nix/store/s8zjqk0adbaf4iqrqcrbx28ik8zpfy10-python3.7-docutils-0.14.drv' failed with exit code 1
cannot build derivation '/nix/store/xy1bbl1mw871rhbj1xv6q67plj22jslp-python3.7-Sphinx-1.7.9.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n5wwdrq7wg6qxy5lxgca6kschx8xpg2z-ghc-8.2.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ah383mhhnmslzkvc7jqgz3nclgkx0s6r-ghc-8.6.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ah383mhhnmslzkvc7jqgz3nclgkx0s6r-ghc-8.6.2.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment