Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-05-01 21:45:28 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-05-01 21:45:49 nbloomf joins (~nbloomf@2600:1700:ad14:3020:a182:9232:ec83:3157)
2021-05-01 21:46:53 frozenErebus joins (~frozenEre@37.231.244.249)
2021-05-01 21:47:55 × todda7 quits (~torstein@2a02:587:3724:1a75:aca:df22:9d82:969f) (Ping timeout: 260 seconds)
2021-05-01 21:49:41 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds)
2021-05-01 21:50:07 <hololeap> i notice there is an argument in the ghc-pkg help: --package-db=FILE/DIR use the specified package database
2021-05-01 21:50:18 hypercube joins (~hypercube@2603-6011-f901-9e5b-0000-0000-0000-08cf.res6.spectrum.com)
2021-05-01 21:50:29 <hololeap> i'm not finding something like this in ~/.cabal, but maybe i just don't know where to look?
2021-05-01 21:50:38 <geekosaur> cabal-install --lib doesn't use a package database
2021-05-01 21:50:43 <geekosaur> it uses environment files
2021-05-01 21:50:50 × howdoi quits (uid224@gateway/web/irccloud.com/x-xzygzpuerezxithz) (Quit: Connection closed for inactivity)
2021-05-01 21:50:52 zebrag joins (~inkbottle@alagny-155-1-30-153.w83-200.abo.wanadoo.fr)
2021-05-01 21:51:19 <hololeap> geekosaur: so how would i go about enumerating all the packages that were "installed" this way and grab there doc locations?
2021-05-01 21:51:25 <hololeap> *their
2021-05-01 21:51:38 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 246 seconds)
2021-05-01 21:52:19 <geekosaur> ~/.ghc/<version>/environments/*
2021-05-01 21:52:53 <hololeap> hm, ok
2021-05-01 21:53:26 <hololeap> is there a better way to get the docs installed locally than `cabal install --lib --enable-documentation`?
2021-05-01 21:53:35 <hololeap> i'm using ghcup on ubuntu
2021-05-01 21:54:00 × pcmanus quits (~pcmanus@195.140.213.38) (Remote host closed the connection)
2021-05-01 21:54:12 xkapastel joins (uid17782@gateway/web/irccloud.com/x-zohuszkgaklticjf)
2021-05-01 21:54:20 × kritzefitz quits (~kritzefit@212.86.56.80) (Remote host closed the connection)
2021-05-01 21:54:26 <geekosaur> that I don't know
2021-05-01 21:54:43 <hololeap> geekosaur: good enough for me. thank you
2021-05-01 21:56:27 todda7 joins (~torstein@2a02:587:3724:1a75:aca:df22:9d82:969f)
2021-05-01 21:57:07 <hololeap> geekosaur: what do you use for docs? hackage.haskell.org, or do you install them locally somehow?
2021-05-01 21:57:20 <geekosaur> hackage, generally
2021-05-01 21:57:27 <hololeap> ok, just curiouis
2021-05-01 21:59:11 × zebrag quits (~inkbottle@alagny-155-1-30-153.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
2021-05-01 21:59:12 <hololeap> hm, i have two instances of optparse-applicative-0.16.1.0, each with a different hash, in ~/.ghc/<version>/environments/default. why would that be?
2021-05-01 22:00:45 <geekosaur> different flags? I see a "process" flag (grumble)
2021-05-01 22:00:59 zebrag joins (~inkbottle@alagny-155-1-30-153.w83-200.abo.wanadoo.fr)
2021-05-01 22:01:07 <hololeap> i don't know. i thought that package was installed along with ghc
2021-05-01 22:02:31 <geekosaur> it is, whether it's a dependency is another question
2021-05-01 22:04:03 × nut quits (~nut@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 268 seconds)
2021-05-01 22:05:17 × Volt_ quits (~Volt_@c-73-145-164-70.hsd1.mi.comcast.net) (Ping timeout: 268 seconds)
2021-05-01 22:05:22 <hololeap> huh, it looks like it is because of two different hashes for transformers-compat: one version with "documentation: True" and the other without
2021-05-01 22:05:57 <hololeap> that seems to be the only difference between them
2021-05-01 22:06:22 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
2021-05-01 22:07:43 <hololeap> it's going to be annoying enumerating these libs if there are duplicates because of silly reasons like this
2021-05-01 22:07:55 Volt_ joins (~Volt_@c-73-145-164-70.hsd1.mi.comcast.net)
2021-05-01 22:08:54 × pringlescan quits (uid192736@gateway/web/irccloud.com/x-puuysjqvmclgwmck) (Quit: Connection closed for inactivity)
2021-05-01 22:09:09 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:a182:9232:ec83:3157) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-05-01 22:09:10 <hololeap> i'm a little surprised that tooling for local docs is this underdeveloped
2021-05-01 22:09:56 mrmonday joins (~mrmonday@195.140.213.38)
2021-05-01 22:10:32 × fendor quits (~fendor@91.141.2.250.wireless.dyn.drei.com) (Ping timeout: 246 seconds)
2021-05-01 22:12:48 <hololeap> i wonder how hackage.haskell.org sorts things out so there is one hash version for each package version
2021-05-01 22:13:18 × zebrag quits (~inkbottle@alagny-155-1-30-153.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
2021-05-01 22:13:53 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-05-01 22:16:12 × mmfood_2 quits (~mmfood@45.91.21.58) (Ping timeout: 240 seconds)
2021-05-01 22:16:51 × dmytrish quits (~mitra@2a02:8084:a82:d900:4cc7:f0a8:8d74:1dfc) (Ping timeout: 260 seconds)
2021-05-01 22:19:12 × neiluj quits (~jco@unaffiliated/neiluj) (Quit: leaving)
2021-05-01 22:19:15 mmfood_2 joins (~mmfood@45.91.21.58)
2021-05-01 22:20:30 × chimera quits (~chimera@168-182-134-95.pool.ukrtel.net) (Quit: Konversation terminated!)
2021-05-01 22:22:31 sayola joins (~vekto@dslb-088-078-152-174.088.078.pools.vodafone-ip.de)
2021-05-01 22:23:01 mmfood_1 joins (~mmfood@45.91.21.58)
2021-05-01 22:23:11 ddellacosta joins (~ddellacos@86.106.143.44)
2021-05-01 22:23:32 × mmfood_2 quits (~mmfood@45.91.21.58) (Ping timeout: 240 seconds)
2021-05-01 22:24:22 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 260 seconds)
2021-05-01 22:25:53 × cortexauth quits (~cortexaut@2409:4053:2e1c:481d:ccb2:55cd:f4bc:4388) (Read error: Connection reset by peer)
2021-05-01 22:26:33 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Quit: WeeChat 2.8)
2021-05-01 22:27:46 × ddellacosta quits (~ddellacos@86.106.143.44) (Ping timeout: 252 seconds)
2021-05-01 22:31:19 zebrag joins (~inkbottle@alagny-155-1-30-153.w83-200.abo.wanadoo.fr)
2021-05-01 22:34:46 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 240 seconds)
2021-05-01 22:38:26 <hololeap> is there a way to set up `cabal install` so that certain options are the default? for instance, i would like to add some default warnings to ghc-options
2021-05-01 22:38:42 <hololeap> sorry, meant `cabal init`
2021-05-01 22:39:15 <sclv> not for init but its a good feature req tho
2021-05-01 22:39:36 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:b546:5594:c630:5696) (Quit: WeeChat 3.1)
2021-05-01 22:40:33 <hololeap> sclv: you say "not for init" as though it is available for a different cabal command
2021-05-01 22:40:52 × nineonine quits (~nineonine@2604:3d08:7783:f200:2c87:532:74b7:8a30) (Remote host closed the connection)
2021-05-01 22:41:13 <sclv> you can add default flags to the ~/.cabal/config
2021-05-01 22:41:26 <hololeap> ah, ok
2021-05-01 22:41:26 nbloomf joins (~nbloomf@2600:1700:ad14:3020:a182:9232:ec83:3157)
2021-05-01 22:41:43 nineonine joins (~nineonine@2604:3d08:7783:f200:2c87:532:74b7:8a30)
2021-05-01 22:42:11 <sclv> also note you can put options into a cabal.project file and copy the same file for use in multiple projects
2021-05-01 22:42:24 mmfood_2 joins (~mmfood@185.176.246.118)
2021-05-01 22:42:27 ericsagnes joins (~ericsagne@2405:6580:0:5100:8ea5:80d2:fb29:a6df)
2021-05-01 22:42:35 <sclv> which is fine for warnings etc since they are for development not packaging mainly
2021-05-01 22:43:08 <hololeap> ok
2021-05-01 22:44:08 <hololeap> sclv: how would i do that? "ghc-options: ..." at the top level, or does it need to go inside some kind of stanza?
2021-05-01 22:44:33 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
2021-05-01 22:45:09 tsaka__ joins (~torstein@2a02:587:3724:1a75:aca:df22:9d82:969f)
2021-05-01 22:45:16 × todda7 quits (~torstein@2a02:587:3724:1a75:aca:df22:9d82:969f) (Remote host closed the connection)
2021-05-01 22:45:22 × mmfood_1 quits (~mmfood@45.91.21.58) (Ping timeout: 268 seconds)
2021-05-01 22:45:24 <sclv> v2 configure will record the flags into a project file for you iirc
2021-05-01 22:46:13 <sclv> other than that check the docs for syntax
2021-05-01 22:46:13 cortexauth joins (~cortexaut@2409:4053:2e1c:481d:ccb2:55cd:f4bc:4388)
2021-05-01 22:46:26 <sclv> i think its top level
2021-05-01 22:47:01 × nineonine quits (~nineonine@2604:3d08:7783:f200:2c87:532:74b7:8a30) (Ping timeout: 276 seconds)
2021-05-01 22:48:38 × cortexauth quits (~cortexaut@2409:4053:2e1c:481d:ccb2:55cd:f4bc:4388) (Client Quit)
2021-05-01 22:48:51 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:a182:9232:ec83:3157) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-05-01 22:49:14 cortexauth joins (~cortexaut@2409:4053:2e1c:481d:ccb2:55cd:f4bc:4388)
2021-05-01 22:51:19 nbloomf joins (~nbloomf@2600:1700:ad14:3020:a182:9232:ec83:3157)
2021-05-01 22:53:55 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving)
2021-05-01 22:54:31 × dinciorip quits (~dincio@5.170.44.231) (Quit: WeeChat 3.1)
2021-05-01 22:54:51 <hololeap> it looks like it's sticking ghc-options under two different stanzas: "package *" and "program-options"
2021-05-01 22:55:42 carlomagno joins (~cararell@148.87.23.11)
2021-05-01 22:55:47 vchlup__ joins (~vchlup@115.128.broadband17.iol.cz)
2021-05-01 22:55:50 × vchlup_ quits (~vchlup@115.128.broadband17.iol.cz) (Read error: Connection reset by peer)
2021-05-01 22:56:23 <hololeap> (in cabal.project.local after i run `cabal configure --ghc-options=-Wall`)

All times are in UTC.