input-output-hk / input-output-hk/stack2nix

Bad error when git clone fails

Open
#130 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
100
Forks
28
PR merge metrics
No merged PRs in 30d

Description

In #129, when `nix-prefetch-git` fails because of a too old version of nix being used, this is printed (*after* a successful clone):

`error: current Nix store schema is version 10, but I only support 7`

Nevertheless, when that happens `stack2nix` lets it continue, trying to clone my git URL as `hg` instead, which obviously fails and then gives a bad error message.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.