Logs: freenode/#haskell
| 2020-10-19 07:57:37 | <dminuoso> | Indeed, that's what generates my derivatoin |
| 2020-10-19 07:57:51 | <dminuoso> | You can still override the cabal or the derivation using standard nix tools if need be |
| 2020-10-19 07:58:02 | <koz_> | Now 11, and 28-34, I don't get. |
| 2020-10-19 07:58:03 | <dminuoso> | (It really beats callCabal2nix and manually fiddling around) |
| 2020-10-19 07:58:11 | <dminuoso> | extendedPkgs = staticPkgs.extend pkgOverlay; |
| 2020-10-19 07:58:13 | <dminuoso> | This? |
| 2020-10-19 07:58:20 | <koz_> | That. |
| 2020-10-19 07:58:22 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 2020-10-19 07:58:23 | → | jchia joins (~jchia@45.32.62.73) |
| 2020-10-19 07:58:35 | × | ephemera_ quits (~E@122.34.1.187) (Ping timeout: 265 seconds) |
| 2020-10-19 07:58:38 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 2020-10-19 07:58:38 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 2020-10-19 07:58:38 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-19 07:58:56 | <dminuoso> | koz_: So look at this first https://gist.github.com/dminuoso/15222b2cb2a8b791525f902fe5beee4e#file-default-nix-L27-L33 |
| 2020-10-19 07:59:02 | <dminuoso> | The main thing to understand, Im doing something more elaborate |
| 2020-10-19 07:59:07 | <dminuoso> | Than strictly needs be |
| 2020-10-19 07:59:29 | <koz_> | Ah, right that. |
| 2020-10-19 07:59:32 | <dminuoso> | Normally you could just say `haskellPackages.overrides = ...` |
| 2020-10-19 07:59:33 | <koz_> | You just explained. |
| 2020-10-19 07:59:37 | <koz_> | So technically optional? |
| 2020-10-19 07:59:51 | → | ephemera_ joins (~E@122.34.1.187) |
| 2020-10-19 07:59:58 | <dminuoso> | Well that's just the version of haskellPackages.overrides that works for a particular GHC version |
| 2020-10-19 08:00:12 | <dminuoso> | You can just straight up copy it, it just does a nested attribute set merge |
| 2020-10-19 08:00:18 | → | avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz) |
| 2020-10-19 08:00:21 | <dminuoso> | ${compiler} = super.haskell.packages.${compiler}.override (makeHsOverrides super.haskell.lib); |
| 2020-10-19 08:00:22 | <koz_> | Ah, because you want it to work on any compiler, right? |
| 2020-10-19 08:00:31 | <dminuoso> | Right, or rather a particular compiler |
| 2020-10-19 08:00:37 | <dminuoso> | As opposed to whatever haskellPackages uses |
| 2020-10-19 08:00:49 | × | mac10688 quits (~mac10688@c-76-115-116-76.hsd1.or.comcast.net) (Ping timeout: 246 seconds) |
| 2020-10-19 08:01:11 | <dminuoso> | extendedPkgs = staticPkgs.extend pkgOverlay; |
| 2020-10-19 08:01:28 | <dminuoso> | Then is the entrypoint that uses the overlay to build up a new nixpkgs attrset with my overlay applied |
| 2020-10-19 08:01:40 | <dminuoso> | so inside extendedPkgs you can find: |
| 2020-10-19 08:01:54 | <dminuoso> | extendedPkgs.haskell.packages.${compiler}.freyja |
| 2020-10-19 08:01:57 | <dminuoso> | extendedPkgs.haskell.packages.${compiler}.freyja-api |
| 2020-10-19 08:02:06 | <dminuoso> | https://gist.github.com/dminuoso/15222b2cb2a8b791525f902fe5beee4e#file-default-nix-L35-L39 |
| 2020-10-19 08:02:10 | <dminuoso> | This is where I reference that then |
| 2020-10-19 08:02:20 | <dminuoso> | Then from the outside, you can just say `nix-build -A exe` |
| 2020-10-19 08:02:25 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 08:02:39 | × | AceNovo quits (~chris@184.101.162.142) (Quit: Konversation terminated!) |
| 2020-10-19 08:02:51 | <koz_> | OK, that _mostly_ makes sense. |
| 2020-10-19 08:02:59 | <koz_> | I'll give it a try tomorrow and see if I can get it building. |
| 2020-10-19 08:03:03 | → | AceNovo joins (~chris@184.101.162.142) |
| 2020-10-19 08:03:08 | <koz_> | (well, modulo what I need, obviously) |
| 2020-10-19 08:03:27 | → | da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com) |
| 2020-10-19 08:03:33 | × | da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Client Quit) |
| 2020-10-19 08:03:35 | <dminuoso> | koz_: If you get rid of all these dontCheck and overrideCabal things inside makeHsOverrides, then it should be much much more readable and clear :) |
| 2020-10-19 08:04:35 | × | jchia quits (~jchia@45.32.62.73) (Remote host closed the connection) |
| 2020-10-19 08:04:37 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection) |
| 2020-10-19 08:04:47 | <koz_> | OK, that makes worlds more sense. I'll give it a go, thanks. |
| 2020-10-19 08:05:07 | → | jchia joins (~jchia@45.32.62.73) |
| 2020-10-19 08:06:07 | × | AceNovo quits (~chris@184.101.162.142) (Client Quit) |
| 2020-10-19 08:06:33 | <dminuoso> | Just know that the static-haskell-nix overlay is relatively unstable. So if you rely on fast moving targets in nixpkgs, building inside alpine might be much preferrable. |
| 2020-10-19 08:06:34 | → | AceNovo joins (~chris@184.101.162.142) |
| 2020-10-19 08:06:44 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 2020-10-19 08:06:51 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds) |
| 2020-10-19 08:07:01 | × | Rudd0^ quits (~Rudd0@185.189.115.98) (Remote host closed the connection) |
| 2020-10-19 08:07:43 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection) |
| 2020-10-19 08:08:14 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 2020-10-19 08:08:33 | <koz_> | dminuoso: Using like, Docker or something? |
| 2020-10-19 08:08:38 | <dminuoso> | Yeah |
| 2020-10-19 08:09:06 | <koz_> | Noted, thanks! |
| 2020-10-19 08:09:22 | <dminuoso> | koz_: Btw, I think there's some bug in there. I was in the middle of refactoring it and stopped because I had some issues with a dependencies. |
| 2020-10-19 08:10:40 | × | jchia quits (~jchia@45.32.62.73) (Remote host closed the connection) |
| 2020-10-19 08:11:32 | → | jchia joins (~jchia@58.32.66.236) |
| 2020-10-19 08:11:45 | × | ephemera_ quits (~E@122.34.1.187) (Remote host closed the connection) |
| 2020-10-19 08:12:42 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 08:12:59 | → | ephemera_ joins (~E@122.34.1.187) |
| 2020-10-19 08:12:59 | × | jedws quits (~jedws@121.209.161.98) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-19 08:13:31 | → | kenran joins (~maier@b2b-37-24-119-190.unitymedia.biz) |
| 2020-10-19 08:14:21 | → | kritzefitz joins (~kritzefit@p200300ecdf05be00f1ae985ba6d99bb3.dip0.t-ipconnect.de) |
| 2020-10-19 08:14:57 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Read error: No route to host) |
| 2020-10-19 08:15:32 | → | plutoniix joins (~q@node-uhv.pool-125-24.dynamic.totinternet.net) |
| 2020-10-19 08:16:28 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 2020-10-19 08:17:13 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 2020-10-19 08:17:26 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-10-19 08:18:48 | × | plutoniix quits (~q@node-uhv.pool-125-24.dynamic.totinternet.net) (Client Quit) |
| 2020-10-19 08:22:58 | hackage | alfred-margaret 1.1.1.0 - Fast Aho-Corasick string searching https://hackage.haskell.org/package/alfred-margaret-1.1.1.0 (rkrzr) |
| 2020-10-19 08:26:26 | × | drbean quits (~drbean@TC210-63-209-153.static.apol.com.tw) (Ping timeout: 256 seconds) |
| 2020-10-19 08:27:31 | × | hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-bbbnvzthyixtprkj) (Quit: Connection closed for inactivity) |
| 2020-10-19 08:27:57 | × | kritzefitz quits (~kritzefit@p200300ecdf05be00f1ae985ba6d99bb3.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 2020-10-19 08:28:20 | → | kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49) |
| 2020-10-19 08:28:29 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 08:29:03 | → | plutoniix joins (~q@node-uhv.pool-125-24.dynamic.totinternet.net) |
| 2020-10-19 08:31:24 | → | bairyn joins (~bairyn@unaffiliated/bob0) |
| 2020-10-19 08:33:14 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-10-19 08:34:26 | × | ephemera_ quits (~E@122.34.1.187) (Ping timeout: 272 seconds) |
| 2020-10-19 08:34:39 | → | mac10688 joins (~mac10688@c-76-115-116-76.hsd1.or.comcast.net) |
| 2020-10-19 08:35:50 | → | ephemera_ joins (~E@122.34.1.187) |
| 2020-10-19 08:36:28 | hackage | ptr-poker 0.1.1.1 - Pointer poking action construction and composition toolkit https://hackage.haskell.org/package/ptr-poker-0.1.1.1 (NikitaVolkov) |
| 2020-10-19 08:36:28 | × | avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-19 08:36:40 | → | ensyde joins (~ensyde@2600:1702:2e30:1a40:ec42:dd4:da87:efd) |
| 2020-10-19 08:38:42 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 08:38:51 | → | phr0m3indh0v3n joins (~Android@84.241.205.21) |
| 2020-10-19 08:40:22 | → | coot_ joins (~coot@37.30.52.68.nat.umts.dynamic.t-mobile.pl) |
| 2020-10-19 08:41:21 | × | ephemera_ quits (~E@122.34.1.187) (Ping timeout: 258 seconds) |
| 2020-10-19 08:41:59 | × | ensyde quits (~ensyde@2600:1702:2e30:1a40:ec42:dd4:da87:efd) (Quit: WeeChat 2.9) |
| 2020-10-19 08:42:45 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-10-19 08:43:49 | → | kuribas joins (~user@ptr-25vy0i8tnjeny9qrt7n.18120a2.ip6.access.telenet.be) |
| 2020-10-19 08:44:02 | × | coot quits (~coot@37.30.52.68.nat.umts.dynamic.t-mobile.pl) (Ping timeout: 258 seconds) |
| 2020-10-19 08:44:03 | coot_ | is now known as coot |
All times are in UTC.