You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Determine if the tag is a ref or a rev
Test the `tag` attribute in the `cabal.project` file. If it looks like a
git hash, then assign it to `rev`. Otherwise, assign it to `ref`.
* ok
* ok
* lmao
* Address comments
* better if not present
Copy file name to clipboardExpand all lines: lib/call-cabal-project-to-nix.nix
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -228,10 +228,10 @@ let
228
228
thenthrow"${inputMap.${repoData.url}.rev} may not match ${repoData.ref} for ${repoData.url} use \"${repoData.url}/${repoData.ref}\" as the inputMap key if ${repoData.ref} is a branch or tag that points to ${inputMap.${repoData.url}.rev}."
in__trace"WARNING: No sha256 found for source-repository-package ${repoData.url}ref=${repoData.refor"(unspecified)"} rev=${repoData.revor"(unspecified)"} download may fail in restricted mode (hydra)"
235
235
(__trace"Consider adding `--sha256: ${hashPathdrv}` to the ${cabalProjectFileName} file or passing in a sha256map argument"
0 commit comments