Closed
Description
Nix builtins.fetchGit
only fetches the default branch if no branch is specified.
We don't have the branch name (let alone ref) in stack.yaml
so we either need to do another comment hack similar to # nix-sha256
or we need to make Nix fall back to fetching all refs. The latter may be acceptable only if it logs a warning so the user can fix it.
Discussion about fetchGit
's ref
: NixOS/nix#2431
Example of the error: hercules-ci/haskell-language-server.nix#2 (comment)
Metadata
Metadata
Assignees
Labels
No labels