{"action":"created","issue":{"url":"https://api.github.com/repos/GaloisInc/haskell-tor/issues/5","labels_url":"https://api.github.com/repos/GaloisInc/haskell-tor/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/GaloisInc/haskell-tor/issues/5/comments","events_url":"https://api.github.com/repos/GaloisInc/haskell-tor/issues/5/events","html_url":"https://github.com/GaloisInc/haskell-tor/issues/5","id":117899517,"number":5,"title":"No instance for Network.TLS.Backend.HasBackend Socket","user":{"login":"cgag","id":696309,"avatar_url":"https://avatars.githubusercontent.com/u/696309?v=3","gravatar_id":"","url":"https://api.github.com/users/cgag","html_url":"https://github.com/cgag","followers_url":"https://api.github.com/users/cgag/followers","following_url":"https://api.github.com/users/cgag/following{/other_user}","gists_url":"https://api.github.com/users/cgag/gists{/gist_id}","starred_url":"https://api.github.com/users/cgag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgag/subscriptions","organizations_url":"https://api.github.com/users/cgag/orgs","repos_url":"https://api.github.com/users/cgag/repos","events_url":"https://api.github.com/users/cgag/events{/privacy}","received_events_url":"https://api.github.com/users/cgag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-19T20:21:11Z","updated_at":"2015-11-26T06:13:41Z","closed_at":null,"body":"I'm attempting to build this on linux (as a nomral executable, not a HalVM instance) and ran:\r\n\r\ncabal sandbox init\r\ncabal install --only-dependencies\r\ncabal build\r\n\r\nand I'm running into:\r\n\r\n```\r\nexe/Main.hs:143:25:\r\n    No instance for (tls-1.3.3:Network.TLS.Backend.HasBackend Socket)\r\n      arising from a use of ‘MkNS’\r\n    In the expression: MkNS (hansNetworkStack ns)\r\n    In the first argument of ‘return’, namely\r\n      ‘(MkNS (hansNetworkStack ns), logger)’\r\n    In a stmt of a 'do' block:\r\n      return (MkNS (hansNetworkStack ns), logger)\r\n```\r\nLooks like the both versions of initializeSystem call hansNetworkStack. It seems like you always need to depend on hans to build the executable at the moment in case you want to use a tap device. "},"comment":{"url":"https://api.github.com/repos/GaloisInc/haskell-tor/issues/comments/159815806","html_url":"https://github.com/GaloisInc/haskell-tor/issues/5#issuecomment-159815806","issue_url":"https://api.github.com/repos/GaloisInc/haskell-tor/issues/5","id":159815806,"user":{"login":"acw","id":168006,"avatar_url":"https://avatars.githubusercontent.com/u/168006?v=3","gravatar_id":"","url":"https://api.github.com/users/acw","html_url":"https://github.com/acw","followers_url":"https://api.github.com/users/acw/followers","following_url":"https://api.github.com/users/acw/following{/other_user}","gists_url":"https://api.github.com/users/acw/gists{/gist_id}","starred_url":"https://api.github.com/users/acw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acw/subscriptions","organizations_url":"https://api.github.com/users/acw/orgs","repos_url":"https://api.github.com/users/acw/repos","events_url":"https://api.github.com/users/acw/events{/privacy}","received_events_url":"https://api.github.com/users/acw/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T06:13:41Z","updated_at":"2015-11-26T06:13:41Z","body":"Meh. Of course. If you pull from GitHub, it will fix this issue.\r\n\r\nI missed testing to make sure sdist grabbed everything from the testing repo. Will see if I can fix this. Meh. Cabal is my enemy."}}