Skip to content

Instantly share code, notes, and snippets.

@romanofski
Last active December 29, 2018 10:11
Show Gist options
  • Save romanofski/ec174054491ab1231acb58acdaf77abd to your computer and use it in GitHub Desktop.
Save romanofski/ec174054491ab1231acb58acdaf77abd to your computer and use it in GitHub Desktop.
termonad compilation problems
% result/bin/termonad
Configuration '/home/rjoost/.config/termonad/termonad.hs' changed. Recompiling.
Error occurred while loading configuration file.
/home/rjoost/.config/termonad/termonad.hs:7:1: error:
Could not find module ‘Termonad’
Use -v to see a list of the files searched for.
|
7 | import Termonad
| ^^^^^^^^^^^^^^^...
/home/rjoost/.config/termonad/termonad.hs:13:1: error:
Could not find module ‘Termonad.Config.Colour’
Use -v to see a list of the files searched for.
|
13 | import Termonad.Config.Colour
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
/home/rjoost/.config/termonad/termonad.hs:18:1: error:
Could not find module ‘Termonad.Config.Vec’
Use -v to see a list of the files searched for.
|
18 | import Termonad.Config.Vec (Vec((:*), EmptyVec), N8, unsafeFromListVec_)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/rjoost/.config/termonad/termonad.hs:19:1: error:
Could not find module ‘Data.Colour.SRGB’
Use -v to see a list of the files searched for.
|
19 | import Data.Colour.SRGB (Colour, sRGB24)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
### following the result link
% cat result/bin/termonad
#! /nix/store/n2hjbpkf4c0m48945ivxs3lmsczzw2rg-bash-4.4-p23/bin/bash -e
export GIO_EXTRA_MODULES='/nix/store/4cq9yp4bm21fgf63xdgl35blsiifidsx-dconf-0.28.0-lib/lib/gio/modules'${GIO_EXTRA_MODULES:+':'}$GIO_EXTRA_MODULES
export GIO_EXTRA_MODULES='/nix/store/4cq9yp4bm21fgf63xdgl35blsiifidsx-dconf-0.28.0-lib/lib/gio/modules'${GIO_EXTRA_MODULES:+':'}$GIO_EXTRA_MODULES
export XDG_DATA_DIRS='/nix/store/9ld7rycxmz0zgv45qs15zpzpv8mfbl8i-adwaita-icon-theme-3.30.0/share:/nix/store/9ld7rycxmz0zgv45qs15zpzpv8mfbl8i-adwaita-icon-theme-3.30.0/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share:/nix/store/9ld7rycxmz0zgv45qs15zpzpv8mfbl8i-adwaita-icon-theme-3.30.0/share:/nix/store/9ld7rycxmz0zgv45qs15zpzpv8mfbl8i-adwaita-icon-theme-3.30.0/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share:/nix/store/h800djzxx23wzmqmdffwwl88lis9vwff-hicolor-icon-theme-0.17/share'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
exec -a "$0" "/nix/store/3bzbx451zqb17sr2sp3bh423i370l5y7-termonad-with-packages-8.4.4/bin/.termonad-wrapped" "${extraFlagsArray[@]}" "$@"
rjoost@krombopulos ~/works/termonad [master]
± % file /nix/store/3bzbx451zqb17sr2sp3bh423i370l5y7-termonad-with-packages-8.4.4/bin/.termonad-wrapped
/nix/store/3bzbx451zqb17sr2sp3bh423i370l5y7-termonad-with-packages-8.4.4/bin/.termonad-wrapped: symbolic link to /nix/store/9ni92injwwycx0awiinv0ffgqs4ck1kd-ghc-8.4.4-with-packages/bin/termonad
rjoost@krombopulos ~/works/termonad [master]
± % file /nix/store/9ni92injwwycx0awiinv0ffgqs4ck1kd-ghc-8.4.4-with-packages/bin/termonad
/nix/store/9ni92injwwycx0awiinv0ffgqs4ck1kd-ghc-8.4.4-with-packages/bin/termonad: symbolic link to /nix/store/xkm06y2zxrm65jcxyiwp8s46ak4rfjaj-termonad-1.0.1.0/bin/termonad
rjoost@krombopulos ~/works/termonad [master]
± % file /nix/store/xkm06y2zxrm65jcxyiwp8s46ak4rfjaj-termonad-1.0.1.0/bin/termonad
/nix/store/xkm06y2zxrm65jcxyiwp8s46ak4rfjaj-termonad-1.0.1.0/bin/termonad: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/wcg2bimzqhqza2vz86hbf2q904pkfy85-glibc-2.27/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment