complexity 1.10 -> 1.13 https://repology.org/project/complexity/versions attrpath: complexity Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/development/tools/misc/complexity/default.nix b/pkgs/development/tools/misc/complexity/default.nix index 6e70fbcfcde5..b7c9c49e66f0 100644 --- a/pkgs/development/tools/misc/complexity/default.nix +++ b/pkgs/development/tools/misc/complexity/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "complexity"; - version = "1.10"; + version = "1.13"; src = fetchurl { url = "mirror://gnu/complexity/${pname}-${version}.tar.gz"; - sha256 = "1vfns9xm7w0wrz12a3w15slrqnrfh6qxk15nv7qkj3irll3ff522"; + sha256 = "sha256-U0Lg88NDndPQq+awMogC3h3TQeTgEEniz6lFg3rykC8="; }; buildInputs = [ autogen ]; Received ExitFailure 1 when running Raw command: /nix/store/62fm7r6175k2bgvhc19hn9bdhw90wa3n-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A complexity nix build failed. opts.h:109:41: note: in expansion of macro 'DESC' 109 | #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) | ^~~~ complexity.c:502:9: note: in expansion of macro 'HAVE_OPT' 502 | if (HAVE_OPT(IGNORE)) { | ^~~~~~~~ complexity.c: In function 'complex_eval': opts.h:107:53: error: 'INDEX_OPT_UNIFDEF' undeclared (first use in this function); did you mean 'VALUE_OPT_UNIFDEF'? 107 | #define DESC(n) (complexityOptions.pOptDesc[INDEX_OPT_## n]) | ^~~~~~~~~~ opts.h:109:41: note: in expansion of macro 'DESC' 109 | #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) | ^~~~ complexity.c:557:21: note: in expansion of macro 'HAVE_OPT' 557 | .fs_fp = HAVE_OPT(UNIFDEF) ? popen_unifdef(fname) : fopen(fname, "r"), | ^~~~~~~~ opts.h:107:53: error: 'INDEX_OPT_HORRID_THRESHOLD' undeclared (first use in this function); did you mean 'SET_OPT_HORRID_THRESHOLD'? 107 | #define DESC(n) (complexityOptions.pOptDesc[INDEX_OPT_## n]) | ^~~~~~~~~~ opts.h:170:37: note: in expansion of macro 'DESC' 170 | #define OPT_VALUE_HORRID_THRESHOLD (DESC(HORRID_THRESHOLD).optArg.argInt) | ^~~~ complexity.c:582:22: note: in expansion of macro 'OPT_VALUE_HORRID_THRESHOLD' 582 | if (high_score > OPT_VALUE_HORRID_THRESHOLD) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1113: complexity-complexity.o] Error 1 make[2]: Leaving directory '/build/complexity-1.13/src' make[1]: *** [Makefile:1016: all-recursive] Error 1 make[1]: Leaving directory '/build/complexity-1.13' make: *** [Makefile:957: all] Error 2