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
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 240 seconds]
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 256 seconds]
dhess has quit [Remote host closed the connection]
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 272 seconds]
hughjfchen has joined #haskell.nix
hughjfchen has quit [Remote host closed the connection]
hughjfchen has joined #haskell.nix
hughjfchen has quit [Ping timeout: 245 seconds]
fendor has joined #haskell.nix
__monty__ has joined #haskell.nix
<stites[m]1> haha, on that note: would anyone happen to have an example of using the haskell.nix flake?
<shapr> I'm still not sure what flakes do for me
sorki has joined #haskell.nix
sorki has quit [Remote host closed the connection]
<fendor> I would assume replacing niv?
sorki has joined #haskell.nix
hekkaidekapus_ has quit [Remote host closed the connection]
hekkaidekapus_ has joined #haskell.nix
sorki has quit [Remote host closed the connection]
sorki has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 272 seconds]
fendor_ is now known as fendor
hekkaidekapus_ is now known as hekkaidekapus
dsal has joined #haskell.nix
<shapr> o hi dsal
<dsal> Does anyone know how to build/run tests for a project using haskell.nix?
<shapr> not me, I'm just trying to get started
<shapr> dsal: your approach worked for getting an empty cabal project
<shapr> but I dunno what sort of haskell.nix I need
<dsal> Basically always the same one.
<dsal> I just copy it from project to project.
<shapr> I'm gonna read the project stites[m]1 linked
<dsal> I'm doing a test build right now. Let's see what my best guess is.
<shapr> stites[m]1 linked this to me: https://github.com/stites/haskell.nix-niv
<shapr> but I dunno anything about niv, so I'm reading with trepidation
<shapr> dsal: do you use niv or home-manager or any other tools?
<dsal> I use home-manager, and a bit of lorri
<dsal> lorri's neat because I have a project that is written in elm and requires javascript crap I don't want around unless I really need it. My shell and emacs both get all the tools in scope when working in that directory.
<dsal> `nix-build -A gopro.components.tests.gopro-test` fails to compile in my gopro project, but `stack test` works. It's a dependency failing to compile, which seems strange.
* shapr has no clue at all
<dsal> This is possibly related to your versioning question.
* shapr shrugs
<shapr> I just want to get started
<shapr> I want to make a silly file duplicate finder using haskell.nix
<shapr> in nixOS
<shapr> and I want to get a hoogle server running somehow
<shapr> for the project and all its dependencies
<shapr> that's one thing stack keep breaking over and over
sorki has quit [Remote host closed the connection]
sorki has joined #haskell.nix
<dsal> If you copy any default.nix from haskell.nix into your cabal project, you should be good to go as far as building the exes
<stites[m]1> fendor: yeah, the main thing flakes does is replace niv but, in addition, it makes it easier to compose third-party modules and overlays (haven't gotten too deep into them, but I am trying to write some matrix-synapse derivations where these last points would be nice).
ChanServ has quit [shutting down]
ChanServ has joined #haskell.nix
fendor has quit [Remote host closed the connection]
hekkaidekapus_ has joined #haskell.nix
hekkaidekapus_ has quit [Remote host closed the connection]
hekkaidekapus_ has joined #haskell.nix
hekkaidekapus has quit [Ping timeout: 240 seconds]