Skip to content

Commit 4784bc2

Browse files
committed
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).
1 parent 8cb0cd7 commit 4784bc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/tools/misc/diffoscope/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ let
9494
{
9595
inherit version;
9696
src = src.override {
97-
rev = version;
97+
tag = version;
9898
hash = "sha256-ZYEjT/yShfA4+zpbGOtaFOx1nSSOWPtMvskPhHv3c9U=";
9999
};
100100
}

0 commit comments

Comments
 (0)