flock 0.2.3 -> 0.4.0 https://github.com/discoteq/flock/releases attrpath: flock 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 [updateScript] [updateScript] skipping because derivation has no updateScript [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/tools/flock/default.nix b/pkgs/development/tools/flock/default.nix index a6ba410ec71..680afa03bdd 100644 --- a/pkgs/development/tools/flock/default.nix +++ b/pkgs/development/tools/flock/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "flock"; - version = "0.2.3"; + version = "0.4.0"; src = fetchFromGitHub { owner = "discoteq"; repo = pname; rev = "v${version}"; - sha256 = "1vdq22zhdfi7wwndsd6s7fwmz02fsn0x04d7asq4hslk7bjxjjzn"; + sha256 = "sha256-cCpckORtogs6Nt7c5q2+z0acXAnALdLV6uzxa5ng3s4="; }; nativeBuildInputs = [ autoreconfHook ]; Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A flock nix build failed. checking for sys/time.h... yes checking for sysexits.h... yes checking for unistd.h... (cached) yes checking for err... yes checking for errx... yes checking for warn... yes checking for warnx... yes checking for flock... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands @nix { "action": "setPhase", "phase": "buildPhase" } building build flags: SHELL=/nix/store/k32c6vzr9g1nln6v0gypz6ar6lqjb63l-bash-5.2-p15/bin/bash make all-am make[1]: Entering directory '/build/source' CC src/flock.o src/flock.c: In function 'main': src/flock.c:323:32: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type '__suseconds_t' {aka 'long int'} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Werror=format=]8;;] 323 | printf("took %1u microseconds\n", (t_l_acq.tv_usec - t_l_req.tv_usec)); // not adding due to time constraints | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int __suseconds_t {aka long int} | %1lu cc1: all warnings being treated as errors make[1]: *** [Makefile:678: src/flock.o] Error 1 make[1]: Leaving directory '/build/source' make: *** [Makefile:551: all] Error 2