Affects `github`, `gitlab` and `sourcehut` fetchers. Previously this was an assertion, which crashed the evaluator with SIGABRT. Fixes: #1133 Change-Id: Ia9bb8dd29ac8b9c97bf048827f62c5076a6a6964
10 lines
278 B
Nix
10 lines
278 B
Nix
# tests that this produces a proper error, as it didn't before
|
|
# https://git.lix.systems/lix-project/lix/issues/1133
|
|
builtins.fetchTree {
|
|
type = "github";
|
|
owner = "nixos";
|
|
repo = "nixpkgs";
|
|
ref = "nixpkgs-unstable";
|
|
rev = "e4bae1bd10c9c57b2cf517953ab70060a828ee6f";
|
|
}
|