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
tnks has quit []
__monty__ has joined #haskell.nix
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #haskell.nix
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #haskell.nix
Philonous has quit [Quit: ZNC - https://znc.in]
jakub_barta has quit [Quit: Connection closed for inactivity]
proofofkeags_ has joined #haskell.nix
thongpv87 has joined #haskell.nix
<thongpv87> Please help! I got this error: `error: Cannot find Git revision '725340d92f8109bf5ea620a224fe613df9fba8f1' in ref 'master' of repository 'https://github.com/brendanhay/amazonka.git'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit.` . My project have `stack.yaml` file contain a dependency to amazonka repo in github. That commit ref is from `main`
<thongpv87> branch, and does not existed in `master` branch
<__monty__> thongpv87: Can't you pass ref = "main"?
<thongpv87> @__monty__ in stack.yaml?
<thongpv87> I added `ref: main` into stack.yaml but it does not work
<thongpv87> I think this pull request does solve the problem. However it does not note how to use the feature: https://github.com/input-output-hk/haskell.nix/pull/1019
<__monty__> thongpv87: Ah, the last comment on that thread explains what you need to do, kind of. You need to provide the branchMap.
<thongpv87> I have this in my the flake.nix:
<thongpv87> final.haskell-nix.project {
<thongpv87> name = "backend";
<thongpv87> src = ./.;
<thongpv87> "https://github.com/brendanhay/amazonka"."b0c76968be1f9f36927494c25ebfdedfd5981893" = "main";
<thongpv87> branchMap = {
<thongpv87> };
<thongpv87> };
<thongpv87> but it also not work
<__monty__> Why are you using a different commit from earlier?
<thongpv87> I'm just want to make sure it's in main branch
<thongpv87> I reverted the commit but it does not solve the problem
<__monty__> You *are* using a haskell.nix checkout from after that PR was merged, right?
<thongpv87> Yes
<__monty__> Hmm, if the url and the hash match I don't see why it wouldn't work : s
<__monty__> Can you paste your expression?
<thongpv87> I used the latest version of haskell.nix #9061fc
<thongpv87> here is it: https://pastebin.com/ivNdjp2D
<__monty__> Yeah, can't see anything wrong with that. And the hash matches stack.yaml?
<thongpv87> Yes, it does
<__monty__> I'm at a loss tbh.
<thongpv87> :(
<thongpv87> Thank you for your time
<thongpv87> Oh, this works: https://pastebin.com/nYdLUdmR
<thongpv87> So I think just add ".git" to the end of the github link
<__monty__> Ah, probably because stack adds that or something and it has to be exactly the same. May want to comment that on that PR so future yous will know : )
NinjaTrappeur has left #haskell.nix ["WeeChat 3.1"]
thongpv87 has quit [Quit: Lost terminal]
proofofkeags_ has quit [Remote host closed the connection]
proofofkeags_ has joined #haskell.nix
Tritlo has quit [Read error: Connection reset by peer]
hamishmack has quit [Ping timeout: 240 seconds]
dmj` has quit [Read error: Connection reset by peer]
Tritlo has joined #haskell.nix
hamishmack has joined #haskell.nix
dmj` has joined #haskell.nix