angerman changed the topic of #haskell.nix to: https://input-output-hk.github.io/haskell.nix - alternative haskell infrastructure for nix; logs at https://logs.nix.samueldr.com/haskell.nix
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #haskell.nix
hekkaidekapus has quit [Ping timeout: 268 seconds]
hekkaidekapus has joined #haskell.nix
<typetetris> Ok, so god for me then it wasn't already supported. Otherwise I would have used it.
<typetetris> s/god/good/
fendor has joined #haskell.nix
__monty__ has joined #haskell.nix
fendor has quit [Remote host closed the connection]
hekkaidekapus_ has joined #haskell.nix
hekkaidekapus has quit [Ping timeout: 268 seconds]
fendor has joined #haskell.nix
xwvvvvwx has joined #haskell.nix
<xwvvvvwx> Hey :) How can I specify a cabal flag using haskell.nix?
<xwvvvvwx> I have a flag -fci defined in my cabal file like this: https://github.com/ethereum/act/blob/master/src/act.cabal#L28
<xwvvvvwx> and I would like to have haskell.nix use it when it calls cabal
<michaelpj> xwvvvvwx: set the `packages.act.flags.ci = true` in the module options
<xwvvvvwx> how do I set module options?
<michaelpj> there's a `modules` argument to the various `project` functions, see e.g. https://github.com/input-output-hk/haskell.nix/blob/master/test/cabal-simple/default.nix#L18
<xwvvvvwx> Like this?
<xwvvvvwx> modules = [{ packages.act.flags.ci = true; }];
<xwvvvvwx> as an argument to my call to `project`?
<michaelpj> yep
<xwvvvvwx> ok awesome
<xwvvvvwx> that works
<xwvvvvwx> thanks so much!
<michaelpj> you're welcome :)
jD91mZM2 has quit [Quit: ZNC 1.8.2 - https://znc.in]
jD91mZM2 has joined #haskell.nix
hekkaidekapus_ has quit [Ping timeout: 268 seconds]
hekkaidekapus_ has joined #haskell.nix
hekkaidekapus_ has quit [Ping timeout: 268 seconds]
hekkaidekapus_ has joined #haskell.nix
fendor has quit [Remote host closed the connection]
fendor has joined #haskell.nix
proofofkeags has joined #haskell.nix
<ocharles> You can also set flags in your cabal.project
hekkaidekapus_ has quit [Ping timeout: 268 seconds]
hekkaidekapus_ has joined #haskell.nix
hekkaidekapus_ has quit [Ping timeout: 268 seconds]
hekkaidekapus_ has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 265 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #haskell.nix
__monty__ has quit [Quit: leaving]
fendor_ has quit [Read error: Connection reset by peer]