Logs: liberachat/#haskell
| 2021-08-04 17:49:40 | → | xff0x joins (~xff0x@2001:1a81:5261:500:ded2:30b8:9807:d2a8) |
| 2021-08-04 17:52:44 | × | slavaqq quits (~slavaqq@sdmail.sdserver.cz) (Quit: Client closed) |
| 2021-08-04 17:53:17 | × | Kaiepi quits (~Kaiepi@156.34.44.192) (Remote host closed the connection) |
| 2021-08-04 17:56:45 | → | mastarija joins (~mastarija@78-3-210-70.adsl.net.t-com.hr) |
| 2021-08-04 17:57:17 | × | justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 252 seconds) |
| 2021-08-04 17:59:02 | → | Kaiepi joins (~Kaiepi@156.34.44.192) |
| 2021-08-04 18:04:59 | × | peterhil quits (~peterhil@mobile-access-5d6ace-52.dhcp.inet.fi) (Ping timeout: 252 seconds) |
| 2021-08-04 18:05:10 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-08-04 18:06:57 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-04 18:07:00 | → | Atum_ joins (~IRC@user/atum/x-2392232) |
| 2021-08-04 18:09:49 | × | fresheyeball quits (~fresheyeb@c-71-237-105-37.hsd1.co.comcast.net) (Quit: WeeChat 2.9) |
| 2021-08-04 18:09:50 | <lechner> | int-e: Hi, why is nix popular (or needed) in conjunction with cabal, please? |
| 2021-08-04 18:10:04 | <lechner> | int-e: sorry, that wasn't for you! |
| 2021-08-04 18:10:46 | <Rembane> | lechner: What makes you think it is? |
| 2021-08-04 18:11:15 | <sclv> | nix is good for large production systems where you want to manage not just haskell deps but also other libs, and perhaps a number of executables in multiple languages |
| 2021-08-04 18:11:17 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds) |
| 2021-08-04 18:11:26 | <Rembane> | lechner: I'm using cabal without nix and it works quite well. |
| 2021-08-04 18:11:29 | <lechner> | Rembane: https://github.com/srid/emanote#developing |
| 2021-08-04 18:13:14 | <lechner> | Rembane: is it possible to install modules with cabal without them being on Hackage? |
| 2021-08-04 18:13:33 | <sm> | lechner: I too wondered why srid used nix there, I assume it was to repeatably get the non-haskell deps installed |
| 2021-08-04 18:13:41 | <sclv> | yes it is possible |
| 2021-08-04 18:13:58 | <lechner> | do i have to uses cabal.project? |
| 2021-08-04 18:14:02 | <lechner> | use |
| 2021-08-04 18:14:03 | <sm> | or maybe just the unpublished haskell deps (ema, not yet on hackage) |
| 2021-08-04 18:14:06 | <sclv> | yes |
| 2021-08-04 18:14:07 | <lechner> | sorry, poor speller |
| 2021-08-04 18:14:17 | <sclv> | Thats what cabal.project is for |
| 2021-08-04 18:14:24 | <sclv> | Among other things |
| 2021-08-04 18:14:44 | <sm> | you can clone a repo, cd into it, and just cabal install, also |
| 2021-08-04 18:15:19 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 2021-08-04 18:15:20 | <sclv> | but to use it as a dep with new build thats not the best path |
| 2021-08-04 18:15:37 | <lechner> | that works great for executables but does nothing here for "libraries" aka source modules |
| 2021-08-04 18:15:42 | <sclv> | one shouldn’t think of “installing” libs |
| 2021-08-04 18:15:53 | <sclv> | just depending on them and giving locations |
| 2021-08-04 18:15:55 | <sm> | probably not, just a general answer - yes cabal can be used for things not on hackage |
| 2021-08-04 18:16:26 | <lechner> | isn't "installing libraries" what cabal does with modules from hackage? |
| 2021-08-04 18:16:56 | <sm> | cabal install --lib is how you'd globally install libraries from a local repo. That's probably considered bad practice too |
| 2021-08-04 18:17:00 | <sclv> | in the new build paradigm it builds them and puts em in a store |
| 2021-08-04 18:17:09 | <sclv> | but it doesn’t gobally install them |
| 2021-08-04 18:17:18 | <lechner> | yeah |
| 2021-08-04 18:17:26 | <lechner> | for good reasons i assume |
| 2021-08-04 18:17:31 | <sclv> | You just declare deps and locations and it handles everything in the background |
| 2021-08-04 18:21:37 | → | ubert joins (~Thunderbi@178.165.174.102.wireless.dyn.drei.com) |
| 2021-08-04 18:23:02 | × | trufas quits (~trufas@177.240.218.218) (Ping timeout: 252 seconds) |
| 2021-08-04 18:23:54 | → | trufas joins (~trufas@177.240.218.218) |
| 2021-08-04 18:26:18 | <drakonis> | davean: any updates regarding questions? |
| 2021-08-04 18:27:04 | <lechner> | sm sclv: thanks! cabal.project worked great. how does srid[m] build emanote without it? |
| 2021-08-04 18:27:26 | <drakonis> | nix is not required for haskell development |
| 2021-08-04 18:27:27 | → | slavaqq joins (~slavaqq@sdmail.sdserver.cz) |
| 2021-08-04 18:27:39 | <drakonis> | it is just a tool that has become popular among haskell adjacent developers |
| 2021-08-04 18:27:43 | × | kspalaiologos quits (~kspalaiol@user/kspalaiologos) (Quit: Leaving) |
| 2021-08-04 18:28:21 | <lechner> | adjacent? |
| 2021-08-04 18:29:07 | <drakonis> | haskell developers |
| 2021-08-04 18:29:15 | <drakonis> | haskell users |
| 2021-08-04 18:29:18 | × | mnrmnaughmnrgle quits (~mnrmnaugh@68.162.206.56) (Remote host closed the connection) |
| 2021-08-04 18:29:38 | <lechner> | it has great logical appeal. |
| 2021-08-04 18:30:05 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-04 18:30:10 | <drakonis> | does it? |
| 2021-08-04 18:30:11 | → | fendor_ joins (~fendor@77.119.211.146.wireless.dyn.drei.com) |
| 2021-08-04 18:30:36 | → | mnrmnaugh joins (~mnrmnaugh@68.162.206.56) |
| 2021-08-04 18:30:46 | × | fendor quits (~fendor@77.119.211.146.wireless.dyn.drei.com) (Ping timeout: 272 seconds) |
| 2021-08-04 18:32:17 | × | dyeplexer quits (~dyeplexer@user/dyeplexer) (Remote host closed the connection) |
| 2021-08-04 18:32:20 | <lechner> | i was excited the first time i read about it. i liked the ability to revert. i even asked around debian if anyone is looking into it, but was told it was hard to get to work properly |
| 2021-08-04 18:33:04 | → | doyougnu joins (~user@c-73-25-202-122.hsd1.or.comcast.net) |
| 2021-08-04 18:33:54 | <drakonis> | packaging it in debian? |
| 2021-08-04 18:33:55 | <lechner> | also cloning a 2 gig Git repo just to contribute seemed steep. maybe shallow clones work for installs |
| 2021-08-04 18:33:57 | <drakonis> | they have it |
| 2021-08-04 18:34:10 | → | Erutuon joins (~Erutuon@user/erutuon) |
| 2021-08-04 18:34:12 | <drakonis> | you should look into guix idk |
| 2021-08-04 18:34:22 | → | burnsidesLlama joins (~burnsides@dhcp168-019.wadham.ox.ac.uk) |
| 2021-08-04 18:34:34 | <lechner> | more like being inspired to extent of patching apt |
| 2021-08-04 18:35:23 | <drakonis> | oh, right, well, that's not a simple thing to do |
| 2021-08-04 18:35:54 | × | epolanski quits (uid312403@id-312403.brockwell.irccloud.com) (Quit: Connection closed for inactivity) |
| 2021-08-04 18:36:04 | <sm> | lechner: nix is sometimes used like a superset of cabal.project, it handles non-haskell things as well. I don't think it was necessary for ema, srid just likes it |
| 2021-08-04 18:36:35 | <lechner> | sm: but he uses it instead of cabal.project, right? |
| 2021-08-04 18:37:14 | <sm> | in what sense ? |
| 2021-08-04 18:37:14 | × | chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer) |
| 2021-08-04 18:37:32 | → | chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-04 18:37:54 | <lechner> | there was no cabal.project but he must be buildnig it somehow |
| 2021-08-04 18:38:03 | × | Atum_ quits (~IRC@user/atum/x-2392232) (Quit: Atum_) |
| 2021-08-04 18:38:18 | <lechner> | meanwhile, i got https://paste.debian.net/1206578/ |
| 2021-08-04 18:38:38 | <sm> | cabal.project isn't needed for building; it's needed for repeatable building, with cabal. And nix is one alternative to it, yes |
| 2021-08-04 18:39:29 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 2021-08-04 18:39:58 | <lechner> | i could not build emanote without nix, and added a cabal.project |
| 2021-08-04 18:40:03 | × | burnsidesLlama quits (~burnsides@dhcp168-019.wadham.ox.ac.uk) (Ping timeout: 276 seconds) |
| 2021-08-04 18:40:55 | <sm> | bottom line, this software is not yet easy to build, the bounds and dependencies aren't yet accurate |
| 2021-08-04 18:41:03 | <lechner> | but now i am getting symbol clashes Ambiguous occurrence ‘lookupEnv’ between Prelude and System.Environment https://paste.debian.net/1206578/ |
| 2021-08-04 18:41:25 | <sm> | bounds/dependencies/imports |
| 2021-08-04 18:41:37 | <lechner> | i think he actually uses Relude (without the letter P) |
| 2021-08-04 18:44:05 | <lechner> | here is my cabal.project https://paste.debian.net/1206580/ |
| 2021-08-04 18:44:38 | <lechner> | plus, i had to constrain for SafeHaskell cabal install emanote --constraint 'megaparsec == 9.0.0' |
| 2021-08-04 18:47:48 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 250 seconds) |
| 2021-08-04 18:50:23 | × | qbt quits (~edun@user/edun) (Ping timeout: 258 seconds) |
| 2021-08-04 18:51:25 | → | delYsid joins (~user@84-115-55-45.cable.dynamic.surfer.at) |
| 2021-08-04 18:51:49 | × | markpythonicbit_ quits (~markpytho@50.228.44.6) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-08-04 18:52:01 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 2021-08-04 18:52:19 | → | markpythonicbitc joins (~markpytho@50.228.44.6) |
| 2021-08-04 18:52:30 | <delYsid> | How much memory does a simple sum type with two nullary constructors consume? |
| 2021-08-04 18:53:02 | × | markpythonicbitc quits (~markpytho@50.228.44.6) (Client Quit) |
| 2021-08-04 18:55:50 | <monochrom> | 1 word. If 64-bit GHC, 1 word = 64 bits. |
All times are in UTC.