{"action":"created","issue":{"url":"https://api.github.com/repos/cdepillabout/termonad/issues/92","repository_url":"https://api.github.com/repos/cdepillabout/termonad","labels_url":"https://api.github.com/repos/cdepillabout/termonad/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/cdepillabout/termonad/issues/92/comments","events_url":"https://api.github.com/repos/cdepillabout/termonad/issues/92/events","html_url":"https://github.com/cdepillabout/termonad/issues/92","id":394827671,"node_id":"MDU6SXNzdWUzOTQ4Mjc2NzE=","number":92,"title":"Termonad is unable to compile the config","user":{"login":"romanofski","id":121047,"node_id":"MDQ6VXNlcjEyMTA0Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/121047?v=4","gravatar_id":"","url":"https://api.github.com/users/romanofski","html_url":"https://github.com/romanofski","followers_url":"https://api.github.com/users/romanofski/followers","following_url":"https://api.github.com/users/romanofski/following{/other_user}","gists_url":"https://api.github.com/users/romanofski/gists{/gist_id}","starred_url":"https://api.github.com/users/romanofski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanofski/subscriptions","organizations_url":"https://api.github.com/users/romanofski/orgs","repos_url":"https://api.github.com/users/romanofski/repos","events_url":"https://api.github.com/users/romanofski/events{/privacy}","received_events_url":"https://api.github.com/users/romanofski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-29T21:56:55Z","updated_at":"2018-12-30T05:17:25Z","closed_at":"2018-12-30T03:21:37Z","author_association":"NONE","body":"I gave termonad a try and after a `nix-build` it wasn't able to compile the config. Unfortunately it wasn't able to compile the config.\r\n```\r\n % result/bin/termonad\r\nConfiguration '/home/rjoost/.config/termonad/termonad.hs' changed. Recompiling.                                                        \r\nError occurred while loading configuration file.\r\n\r\n\r\n/home/rjoost/.config/termonad/termonad.hs:7:1: error:\r\n    Could not find module ‘Termonad’\r\n    Use -v to see a list of the files searched for.\r\n  |\r\n7 | import Termonad\r\n  | ^^^^^^^^^^^^^^^...\r\n\r\n/home/rjoost/.config/termonad/termonad.hs:13:1: error:\r\n    Could not find module ‘Termonad.Config.Colour’\r\n    Use -v to see a list of the files searched for.\r\n   |\r\n13 | import Termonad.Config.Colour\r\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...\r\n\r\n/home/rjoost/.config/termonad/termonad.hs:18:1: error:\r\n    Could not find module ‘Termonad.Config.Vec’\r\n    Use -v to see a list of the files searched for.\r\n   |\r\n18 | import Termonad.Config.Vec (Vec((:*), EmptyVec), N8, unsafeFromListVec_)                                                          \r\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                          \r\n\r\n/home/rjoost/.config/termonad/termonad.hs:19:1: error:\r\n    Could not find module ‘Data.Colour.SRGB’\r\n    Use -v to see a list of the files searched for.\r\n   |\r\n19 | import Data.Colour.SRGB (Colour, sRGB24)\r\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n### following the result link\r\n% cat result/bin/termonad\r\n#! /nix/store/n2hjbpkf4c0m48945ivxs3lmsczzw2rg-bash-4.4-p23/bin/bash -e                                                                \r\nexport GIO_EXTRA_MODULES='/nix/store/4cq9yp4bm21fgf63xdgl35blsiifidsx-dconf-0.28.0-lib/lib/gio/modules'${GIO_EXTRA_MODULES:+':'}$GIO_EXTRA_MODULES\r\nexport GIO_EXTRA_MODULES='/nix/store/4cq9yp4bm21fgf63xdgl35blsiifidsx-dconf-0.28.0-lib/lib/gio/modules'${GIO_EXTRA_MODULES:+':'}$GIO_EXTRA_MODULES\r\nexport 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\r\nexec -a \"$0\" \"/nix/store/3bzbx451zqb17sr2sp3bh423i370l5y7-termonad-with-packages-8.4.4/bin/.termonad-wrapped\"  \"${extraFlagsArray[@]}\" \"$@\"\r\n\r\nrjoost@krombopulos ~/works/termonad [master]\r\n± % file /nix/store/3bzbx451zqb17sr2sp3bh423i370l5y7-termonad-with-packages-8.4.4/bin/.termonad-wrapped\r\n/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\r\n\r\nrjoost@krombopulos ~/works/termonad [master]\r\n± % file /nix/store/9ni92injwwycx0awiinv0ffgqs4ck1kd-ghc-8.4.4-with-packages/bin/termonad\r\n/nix/store/9ni92injwwycx0awiinv0ffgqs4ck1kd-ghc-8.4.4-with-packages/bin/termonad: symbolic link to /nix/store/xkm06y2zxrm65jcxyiwp8s46ak4rfjaj-termonad-1.0.1.0/bin/termonad\r\n\r\nrjoost@krombopulos ~/works/termonad [master]\r\n± % file /nix/store/xkm06y2zxrm65jcxyiwp8s46ak4rfjaj-termonad-1.0.1.0/bin/termonad\r\n/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\r\n```\r\n\r\nUpon ask for help on IRC, @LSLeary pointed me to the missing NIX_GHC setting in the wrapper script. I actually had NIX_GHC set in my environment, but it seems to no avail.\r\nIndeed if I \"undo\" the changes from 7551a4d7e925a587ef98016245cd0a2de71a240a I get a working wrapper script which can compile the config.\r\n\r\nLooking at the `wrapsGAppsHook`, it seems `makeWrapper` and `wrapsGAppsHook` are mutually exclusive to write a wrapper with both settings. If there are functions to merge both outputs into one single bash script I'm happy to open a pull request."},"comment":{"url":"https://api.github.com/repos/cdepillabout/termonad/issues/comments/450539864","html_url":"https://github.com/cdepillabout/termonad/issues/92#issuecomment-450539864","issue_url":"https://api.github.com/repos/cdepillabout/termonad/issues/92","id":450539864,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDUzOTg2NA==","user":{"login":"romanofski","id":121047,"node_id":"MDQ6VXNlcjEyMTA0Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/121047?v=4","gravatar_id":"","url":"https://api.github.com/users/romanofski","html_url":"https://github.com/romanofski","followers_url":"https://api.github.com/users/romanofski/followers","following_url":"https://api.github.com/users/romanofski/following{/other_user}","gists_url":"https://api.github.com/users/romanofski/gists{/gist_id}","starred_url":"https://api.github.com/users/romanofski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanofski/subscriptions","organizations_url":"https://api.github.com/users/romanofski/orgs","repos_url":"https://api.github.com/users/romanofski/repos","events_url":"https://api.github.com/users/romanofski/events{/privacy}","received_events_url":"https://api.github.com/users/romanofski/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T05:17:25Z","updated_at":"2018-12-30T05:17:25Z","author_association":"NONE","body":"Nice! Thank you!"}}
{"actor":{"display_login":"romanofski"}}