2025/05/15

Newest at the top

2025-05-15 16:34:37 +0200Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla
2025-05-15 16:33:36 +0200 <hellwolf> yes. use cabal.project, it will work for your case.
2025-05-15 16:33:36 +0200 <Square> okok
2025-05-15 16:33:00 +0200 <merijn> Since cabal.project's intended purpose is "orchestrating/configuring build configurations of (potentially) unpublished code"
2025-05-15 16:32:59 +0200 <Square> I wanted to test out a new project layout wo moving so many files, that was the reason I resorted to the "../" approach
2025-05-15 16:32:35 +0200 <hellwolf> but that was a stupid idea. don't.
2025-05-15 16:32:26 +0200 <hellwolf> I remember I hacked it once with ln -s ../src .
2025-05-15 16:32:06 +0200 <merijn> Square: The intended purpose for cabal files is to describe packages (i.e. self-contained code that can go on to hackage, etc.) which means roots outside of that folder make no sense. You (probably) want a combination of cabal.project and multiple cabal files
2025-05-15 16:31:11 +0200 <Square> thanks
2025-05-15 16:31:10 +0200 <Square> merijn, gotcha
2025-05-15 16:31:06 +0200Xe(~Xe@perl/impostor/xe) Xe
2025-05-15 16:30:49 +0200 <merijn> Square: relative paths outside of the root of the cabal file are not allowed an will never be, that's a feature, not a bug
2025-05-15 16:28:19 +0200Frostillicus(~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 245 seconds)
2025-05-15 16:26:41 +0200Xe(~Xe@perl/impostor/xe) (Quit: ZNC 1.9.1 - https://znc.in)
2025-05-15 16:23:41 +0200 <hellwolf> you should use cabal.project to specify a new local project, and let your other local project depend on it.
2025-05-15 16:23:16 +0200 <hellwolf> cabal error message should be very clear of that, as far as I remember.
2025-05-15 16:23:04 +0200 <hellwolf> "relative path from parent folder" as I suspected.
2025-05-15 16:08:28 +0200 <c_wraith> It sounds like whatever you're trying to do should be solved by cabal.project instead
2025-05-15 16:07:16 +0200 <Square> hs-source-dirs
2025-05-15 16:07:02 +0200 <Square> Ok.. to be specific. I cannot have a hs-source-dir that starts with "../some/path"
2025-05-15 16:05:31 +0200rvalue(~rvalue@user/rvalue) rvalue
2025-05-15 16:05:00 +0200rvalue(~rvalue@user/rvalue) (Read error: Connection reset by peer)
2025-05-15 16:04:43 +0200 <c_wraith> I'm pretty sure that's what has everyone confused by the question. Of course it works with relative paths, that's the only thing anyone ever uses.
2025-05-15 16:04:00 +0200 <c_wraith> I have never seen a non-relative path in that field
2025-05-15 16:00:55 +0200 <Square> hellwolf, exactly. But yeah, could be a nix + haskell issue.
2025-05-15 15:57:11 +0200Frostillicus(~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
2025-05-15 15:49:16 +0200 <hellwolf> otherwise, it doesn't make sense, since it's the basic feature.
2025-05-15 15:48:52 +0200 <hellwolf> do you mean cannot be relative path from parent folders
2025-05-15 15:48:39 +0200 <hellwolf> huh?
2025-05-15 15:48:13 +0200ubert(~Thunderbi@p200300ecdf1b8afc99002e8c4e21755f.dip0.t-ipconnect.de) (Quit: ubert)
2025-05-15 15:46:46 +0200FragByte(~christian@user/fragbyte) FragByte
2025-05-15 15:44:49 +0200FragByte(~christian@user/fragbyte) (Quit: Quit)
2025-05-15 15:41:27 +0200son0p(~ff@2800:e6:4000:5cf7:2aa0:f8ac:1dbc:787d) son0p
2025-05-15 15:37:35 +0200 <Square> I thought they fixed it in cabal 3
2025-05-15 15:37:21 +0200 <Square> It could be a haskell + nix problem. But I remember it was a known bug in cabal 2.x
2025-05-15 15:36:51 +0200 <merijn> They are/should be, no?
2025-05-15 15:36:40 +0200 <merijn> Square: How so?
2025-05-15 15:35:40 +0200 <Square> hs-source-dirs in cabal cannot be relative it seems?
2025-05-15 15:31:01 +0200fp(~Thunderbi@2001:708:20:1406::1370) (Ping timeout: 248 seconds)
2025-05-15 15:24:23 +0200ttybitnik(~ttybitnik@user/wolper) ttybitnik
2025-05-15 15:23:27 +0200 <yin> https://idris2.readthedocs.io/en/latest/tutorial/index.html ?
2025-05-15 15:23:03 +0200 <yin> merijn: just to be sure, what do you mean by *the* tutorial?
2025-05-15 15:21:26 +0200ubert(~Thunderbi@p200300ecdf1b8afc99002e8c4e21755f.dip0.t-ipconnect.de) ubert
2025-05-15 15:20:45 +0200AlexZenon(~alzenon@178.34.150.214)
2025-05-15 15:17:47 +0200AlexNoo_AlexNoo
2025-05-15 15:16:30 +0200 <haskellbridge> <yin> merijn: ty
2025-05-15 15:16:04 +0200AlexNoo(~AlexNoo@178.34.161.121) (Ping timeout: 252 seconds)
2025-05-15 15:14:29 +0200AlexZenon(~alzenon@178.34.161.121) (Ping timeout: 248 seconds)
2025-05-15 15:12:37 +0200AlexNoo_(~AlexNoo@178.34.150.214)
2025-05-15 15:11:39 +0200tromp(~textual@2001:1c00:3487:1b00:a44a:50e6:3df5:3b66)