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:
Sergei Trofimovich
2025-01-04 06:22:41 +00:00
parent 8cb0cd700b
commit 4784bc20c8
+1 -1
View File
@@ -94,7 +94,7 @@ let
{
inherit version;
src = src.override {
rev = version;
tag = version;
hash = "sha256-ZYEjT/yShfA4+zpbGOtaFOx1nSSOWPtMvskPhHv3c9U=";
};
}