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 quit [Ping timeout: 264 seconds]
proofofkeags has joined #haskell.nix
proofofkeags has quit [Ping timeout: 276 seconds]
fendor has joined #haskell.nix
jD91mZM2 has quit [Quit: ZNC 1.8.2 - https://znc.in]
jD91mZM2 has joined #haskell.nix
<mpickering> Is there some problem with haskell.nix and a new version of nix?
<mpickering> "fatal: couldn't find remote ref refs/heads/1a71c5d783dfd6366556959955f17488af03ad2c"
<mpickering> nix version nix (Nix) 3.0pre20200829_f156513
<michaelpj> mpickering: not afaik, any more context for that error?
<michaelpj> but I'm not sure if anyone is testing with unstable nix
<michaelpj> who knows what they're up to there
<mpickering> tell me about it
<mpickering> I had to use it for flakes because I needed dwarffs which is only packaged as a flake
<mpickering> big brain stuff for sure
<mpickering> The error comes form a package which is a source-repository-package in my cabal.project
<michaelpj> run with `--show-trace`?
<mpickering> happens with 2.3.7 as well
<michaelpj> using the haskell.nix flakes stuff?
<mpickering> No
<michaelpj> or using it normally?
<michaelpj> phew
<mpickering> normally
<michaelpj> ah, is the commit you're looking for not on the master branch?
<mpickering> oh perhaps not
<michaelpj> this is an issue with git generally, one cannot simply "fetch a sha" it has to be on a branch that it knows about
<michaelpj> I think you get errors like that from it if it's not happy
<michaelpj> we do actually have a workaround for that, not sure if it's documented, but see https://github.com/input-output-hk/haskell.nix/pull/1019
<michaelpj> but also just having it be reachable from a branch helps
<mpickering> ok I choose one from the master branch and it worked
<mpickering> phew
<michaelpj> hooray
<mpickering> The error messages have all changed in nix 3.0
<mpickering> ok, it doesn't actually work with 3.0, but luckily, you can do `nix-shell -p nix; nix-shell -A shell` and it works
<mpickering> Not sure if that's nice or not..
<michaelpj> what breaks in 3.0?
<mpickering> The error I initially posted
<michaelpj> but with the sha from master?
<michaelpj> I'm confused
<mpickering> yes
<mpickering> That sha is from msater
<michaelpj> hm
<michaelpj> maybe they changed something in fetchgit and now it doesn't work without a branch?
<mpickering> This is no longer blocking me, so I report it as a warning I suppose
proofofkeags has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 246 seconds]
fendor_ has quit [Remote host closed the connection]