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
proofofkeags has joined #haskell.nix
craige has joined #haskell.nix
* craige 👋
<craige> I added a `flake.nix` to a new project and it's telling me that the `shellFor` attribute cannot be found. The flake is identical to this working one: https://source.mcwhirter.io/craige/mcwhirter.io/src/branch/flakify/flake.nix apart from variable names.
<craige> I'm fairly scratching my head to work out while `shellFor` is working for one and not the other.
proofofkeags has quit [Ping timeout: 252 seconds]
<jackdk> commit flake.nix to git?
<craige> Yes, that's OK. It just reports that the `shellFor` attribute is missing.
_d0t has joined #haskell.nix
__monty__ has joined #haskell.nix
fendor has joined #haskell.nix
fendor has quit [Remote host closed the connection]
mikeplus64 has joined #haskell.nix
mikeplus64 has quit [Ping timeout: 245 seconds]
mikeplus32 has joined #haskell.nix
fendor has joined #haskell.nix
thongpv87 has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 268 seconds]
fendor_ is now known as fendor
_d0t has quit [Ping timeout: 252 seconds]
proofofkeags has joined #haskell.nix
thongpv87 has quit [Remote host closed the connection]
proofofkeags_ has joined #haskell.nix
proofofkeags has quit [Ping timeout: 246 seconds]
proofofkeags__ has joined #haskell.nix
proofofkeags_ has quit [Ping timeout: 240 seconds]
hamishmack has quit [Ping timeout: 250 seconds]
mpickering has quit [Ping timeout: 260 seconds]
gluegadget has quit [Read error: Connection reset by peer]
Tritlo has quit [Read error: Connection reset by peer]
hamishmack has joined #haskell.nix
gluegadget has joined #haskell.nix
mpickering has joined #haskell.nix
Tritlo has joined #haskell.nix
dmj` has joined #haskell.nix
proofofkeags__ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Read error: Connection reset by peer]
proofofkeags__ has joined #haskell.nix
joko has joined #haskell.nix
<joko> Hello, I was wondering what would be the optimal way to set a dev environment with haskell.nix. I have read https://input-output-hk.github.io/haskell.nix/tutorials/getting-started-flakes/#scaffolding, but what if I have no package ready yet, e.g., I'm just about to run cabal init?
<__monty__> I recommend to simply do the cabal init and start adding packages to the cabal file, write a simple {default,shell}.nix.
<__monty__> An ad-hoc development environment is possible but not that great, rather than putting deps in the cabal file you'd be putting them in a nix file.
<joko> Would you use ghc and cabal-install from nixpkgs for this?
<joko> Or is there anything directly from haskell.nix for this?
<__monty__> I usually just copy a setup from a previous project tbh. But yeah a nix-shell -p cabal would be fine for this.
fendor has quit [Ping timeout: 260 seconds]
_d0t has joined #haskell.nix
__monty__ has quit [Quit: leaving]
joko has quit [Quit: WeeChat 2.9]
proofofkeags__ has quit [Ping timeout: 252 seconds]