Logs: freenode/#haskell
| 2020-11-11 09:17:30 | → | ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) |
| 2020-11-11 09:17:45 | <asheshambasta> | dminuoso: no, I'm trying with `cabal new-repl ...` |
| 2020-11-11 09:17:47 | <dminuoso> | well, gist the output |
| 2020-11-11 09:18:04 | <dminuoso> | Just want to know whether cabal perhaps can tell why exactly its rejecting the packages |
| 2020-11-11 09:18:52 | <dminuoso> | Also, what is prelude-polysemy? |
| 2020-11-11 09:19:26 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Remote host closed the connection) |
| 2020-11-11 09:19:37 | <asheshambasta> | https://gist.github.com/asheshambasta/3597d25f179fc2729286c4b02387f282#file-cabal-detailed-err (I've taken the last few lines which seemed relevant to me) |
| 2020-11-11 09:20:24 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 2020-11-11 09:21:16 | → | bitmagie joins (~Thunderbi@200116b8060ca30071501286c6dd94a1.dip.versatel-1u1.de) |
| 2020-11-11 09:22:09 | → | jedws joins (~jedws@101.184.150.81) |
| 2020-11-11 09:22:34 | × | ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-11-11 09:24:31 | × | ClaudiusMaximus quits (~claude@unaffiliated/claudiusmaximus) (Read error: Connection reset by peer) |
| 2020-11-11 09:24:33 | → | coco joins (~coco@212-51-146-87.fiber7.init7.net) |
| 2020-11-11 09:24:58 | <merijn> | Where is the prelude-polysemy cabal file? Because I don't see such a package anywhere |
| 2020-11-11 09:25:21 | <dminuoso> | Arguably this is still a cabal diagnostics bug |
| 2020-11-11 09:25:47 | <dminuoso> | It's frequently very hard to decipher why cabal cant find a build plan. In principle I understand that cabal can't tell you the exact reason because it's just a sat solver.. |
| 2020-11-11 09:25:48 | <merijn> | dminuoso: Add it to milestone _|_ :p |
| 2020-11-11 09:25:56 | <dminuoso> | But in this case.. |
| 2020-11-11 09:26:01 | <dminuoso> | [__3] trying: servant-reflex-0.3.6/installed-9BB... (dependency of fht-api) |
| 2020-11-11 09:26:07 | <dminuoso> | What does "servant-reflex-0.3.6/installed-9BB..." mean exactly? |
| 2020-11-11 09:26:23 | <dminuoso> | Is that a vendored package? |
| 2020-11-11 09:26:44 | <dminuoso> | that is, what does installed-XYZ mean here |
| 2020-11-11 09:26:56 | <asheshambasta> | merijn: its a local dependency, I'll push it to GHub. |
| 2020-11-11 09:27:08 | <merijn> | the XYZ (I'm guessing) is just the v2 hash |
| 2020-11-11 09:27:26 | <merijn> | Not sure what installed means |
| 2020-11-11 09:27:37 | <dminuoso> | [__4] rejecting: jsaddle-0.9.7.0/installed-ITO... (conflict: prelude-polysemy => http-types==0.12.3/installed-F2x..., jsaddle => http-types==0.12.3/installed-8Tx...) |
| 2020-11-11 09:27:39 | → | ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) |
| 2020-11-11 09:27:46 | <dminuoso> | This should at least contain the information to see where the conflict arises from |
| 2020-11-11 09:28:02 | <dminuoso> | mmm |
| 2020-11-11 09:28:06 | <merijn> | dminuoso: Patches welcome ;) |
| 2020-11-11 09:28:23 | <asheshambasta> | https://github.com/asheshambasta/prelude-polysemy/blob/master/prelude-polysemy.cabal |
| 2020-11-11 09:29:04 | × | bquest_123 quits (~bquest_12@89.47.70.167) (Remote host closed the connection) |
| 2020-11-11 09:29:17 | → | bquest_123 joins (~bquest_12@89.47.70.167) |
| 2020-11-11 09:29:41 | <dminuoso> | asheshambasta: do you have any cabal.project / cabal.project.local file in use? |
| 2020-11-11 09:29:47 | <dminuoso> | that would set additional constraints |
| 2020-11-11 09:30:02 | <dminuoso> | Also, can you edit the previous gist to contain the *entire* output of cabal -v2 ...? |
| 2020-11-11 09:30:46 | <asheshambasta> | in the package that depends on prelude-polysemy, yes, however, the .local files are empty (I need to add them to make a dante-method work), and the cabal.project only contains the paths to each subprojects. |
| 2020-11-11 09:31:26 | <asheshambasta> | here's the project in its entirety: https://github.com/asheshambasta/flowerpower/tree/showcase/servant-reflex-dependency |
| 2020-11-11 09:31:57 | <merijn> | Fascinatingly, http-types has a super small dependency list |
| 2020-11-11 09:32:16 | → | fendor joins (~fendor@178.115.129.26.wireless.dyn.drei.com) |
| 2020-11-11 09:34:04 | → | turion joins (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) |
| 2020-11-11 09:34:06 | × | britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep) |
| 2020-11-11 09:35:32 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Read error: Connection reset by peer) |
| 2020-11-11 09:35:45 | × | ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-11-11 09:35:54 | <dminuoso> | asheshambasta: can you supply the entire output of `cabal -v2 new-repl`? |
| 2020-11-11 09:36:00 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 2020-11-11 09:36:03 | <dminuoso> | And perhaps crank up the verbosity to 3 |
| 2020-11-11 09:36:06 | → | knupfer joins (~Thunderbi@dynamic-046-114-147-079.46.114.pool.telefonica.de) |
| 2020-11-11 09:36:21 | <dminuoso> | (Dunno if that helps, but Im hopeful cabal will at *some* point talk about the constraints/build flags) |
| 2020-11-11 09:36:54 | <dminuoso> | Also, you could move your cabal new store away, hopefully cabal wont talk about weird hashes but versions/build flags instead |
| 2020-11-11 09:38:10 | <asheshambasta> | https://gist.github.com/asheshambasta/3597d25f179fc2729286c4b02387f282#file-cabal-full0-err |
| 2020-11-11 09:39:14 | × | turion quits (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) (Remote host closed the connection) |
| 2020-11-11 09:39:25 | → | turion joins (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) |
| 2020-11-11 09:39:26 | <merijn> | oh...this is inside Nix |
| 2020-11-11 09:39:29 | → | ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) |
| 2020-11-11 09:39:31 | <merijn> | Well, good luck, then :p |
| 2020-11-11 09:39:40 | <dminuoso> | The nix part shouldnt matter |
| 2020-11-11 09:39:47 | × | turion quits (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) (Remote host closed the connection) |
| 2020-11-11 09:39:50 | <dminuoso> | asheshambasta: can you hide the cabal store for this? |
| 2020-11-11 09:40:01 | → | turion joins (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) |
| 2020-11-11 09:40:09 | <dminuoso> | (just rename `.cabal/store/{ghc-version}` or just `.cabal/store`) |
| 2020-11-11 09:40:16 | × | turion quits (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) (Remote host closed the connection) |
| 2020-11-11 09:40:35 | → | turion joins (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) |
| 2020-11-11 09:40:48 | × | turion quits (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) (Remote host closed the connection) |
| 2020-11-11 09:41:02 | <merijn> | dminuoso: Is the store actually there in a nix-shell, though? |
| 2020-11-11 09:41:04 | → | turion joins (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) |
| 2020-11-11 09:41:12 | × | turion quits (~turion@2a02:810d:8abf:c4a8:e079:d816:8ca5:6a3c) (Remote host closed the connection) |
| 2020-11-11 09:41:13 | <dminuoso> | merijn: the nix-shell doesn't sandbox you |
| 2020-11-11 09:41:22 | <dminuoso> | It, roughly, just manipulates the PATH |
| 2020-11-11 09:41:41 | <dminuoso> | But the cabal stuff, unless managed otherwise, is located by default at ~/.cabal |
| 2020-11-11 09:41:52 | <dminuoso> | this is not a nix-build |
| 2020-11-11 09:42:02 | → | Franciman joins (~francesco@host-82-56-223-169.retail.telecomitalia.it) |
| 2020-11-11 09:42:29 | <asheshambasta> | https://gist.github.com/asheshambasta/3597d25f179fc2729286c4b02387f282#file-cabal-full1-err |
| 2020-11-11 09:42:38 | <merijn> | Which version of cabal-install is this, btw? |
| 2020-11-11 09:42:40 | → | jonatanb joins (~jonatanb@83.24.9.26.ipv4.supernova.orange.pl) |
| 2020-11-11 09:42:51 | → | britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch) |
| 2020-11-11 09:43:01 | <dminuoso> | asheshambasta: did you rename the cabal store in your home directory? |
| 2020-11-11 09:43:08 | <asheshambasta> | dminuoso: yeah |
| 2020-11-11 09:43:18 | <dminuoso> | Ah |
| 2020-11-11 09:43:34 | <dminuoso> | strange, it still seems to see them |
| 2020-11-11 09:43:45 | × | ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-11-11 09:43:49 | <asheshambasta> | merijn: 3.0.0.0 |
| 2020-11-11 09:44:01 | → | evanjs- joins (~evanjs@075-129-098-007.res.spectrum.com) |
| 2020-11-11 09:44:22 | × | hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-stoxazqgwprdeuly) (Quit: Connection closed for inactivity) |
| 2020-11-11 09:45:03 | <dminuoso> | asheshambasta: can you also nuke/rename your dist-newstyle directory? |
| 2020-11-11 09:46:44 | <dminuoso> | Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal |
| 2020-11-11 09:46:46 | <dminuoso> | update' to download it. |
| 2020-11-11 09:46:52 | <dminuoso> | Ah, you should run `cabal v2-update` btw |
| 2020-11-11 09:46:56 | <merijn> | oh, lol |
| 2020-11-11 09:46:59 | <merijn> | dammit |
| 2020-11-11 09:47:13 | × | evanjs quits (~evanjs@075-129-188-019.res.spectrum.com) (Ping timeout: 260 seconds) |
| 2020-11-11 09:47:18 | <merijn> | if that's it I'm gonna be mad for missing it |
| 2020-11-11 09:47:28 | <dminuoso> | Well, on the initial problem it was not there |
| 2020-11-11 09:47:37 | <dminuoso> | they renamed the store, so they have to redownload the index |
| 2020-11-11 09:47:40 | → | invaser joins (~Thunderbi@31.148.23.125) |
| 2020-11-11 09:47:47 | <dminuoso> | It was my mistake for not mentioning this |
| 2020-11-11 09:47:53 | <dminuoso> | (In th emiddle of -v3 its easily missed) |
| 2020-11-11 09:48:07 | <dminuoso> | But also rename/nuke your dist-newstyle |
| 2020-11-11 09:48:17 | <dminuoso> | I found the dist-newstyle caches to be surprisingly brittle |
| 2020-11-11 09:48:28 | × | mananamenos quits (~mananamen@84.122.202.215.dyn.user.ono.com) (Read error: Connection reset by peer) |
All times are in UTC.