diffoscope: fix the eval
Without the change the eval fails as:
$ nix build --no-link -f. diffoscope
error:
… while evaluating the attribute 'drvPath'
at lib/customisation.nix:416:7:
415| // {
416| drvPath =
| ^
417| assert condition;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: fetchFromGitHub requires one of either `rev` or `tag` to be provided (not both).
This commit is contained in:
@@ -94,7 +94,7 @@ let
|
||||
{
|
||||
inherit version;
|
||||
src = src.override {
|
||||
rev = version;
|
||||
tag = version;
|
||||
hash = "sha256-ZYEjT/yShfA4+zpbGOtaFOx1nSSOWPtMvskPhHv3c9U=";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user