Skip to content

openapi-generator-cli: 7.18.0 -> 7.20.0 - #499949

Closed
utdemir wants to merge 1 commit into
NixOS:masterfrom
utdemir:ud/update-openapi-generator-cli-0-20
Closed

openapi-generator-cli: 7.18.0 -> 7.20.0#499949
utdemir wants to merge 1 commit into
NixOS:masterfrom
utdemir:ud/update-openapi-generator-cli-0-20

Conversation

@utdemir

@utdemir utdemir commented Mar 15, 2026

Copy link
Copy Markdown
Member

I just used the nix-update-script that updated version and the hash, and I manually copied the mvnHash from the build failure.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci
nixpkgs-ci Bot requested review from Shou and booxter March 15, 2026 00:06
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Mar 15, 2026
@utdemir
utdemir force-pushed the ud/update-openapi-generator-cli-0-20 branch from 2ec9c42 to 8b28d82 Compare March 15, 2026 00:21
@booxter

booxter commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

There's a bug in this package (or maven integration) that results in hashes not being stable. For example, when I try to build it today, I get this mismatch:

error: build of '/nix/store/gvnfbn2ajy3jbp25chsh8ls1j91b4dxi-maven-deps-openapi-generator-cli-7.20.0.drv' on 'ssh://frame' failed: hash mismatch in fixed-output derivation '/nix/store/gvnfbn2ajy3jbp25chsh8ls1j91b4dxi-maven-deps-openapi-generator-cli-7.20.0.drv':
         specified: sha256-EXSqSBjBEQTerrSuFDdMOVZDAIWXRNZhtUMiI7pWUKQ=
            got:    sha256-Yr0C1vmIhbAA/wVEZKFwpRrKz1Ax7m/acIGwO/U/184=
error: Cannot build '/nix/store/gvnfbn2ajy3jbp25chsh8ls1j91b4dxi-maven-deps-openapi-generator-cli-7.20.0.drv'.

@B4dM4n did a nice job digging into why this happens here but so far, to my knowledge, no one attempted to fix it once and for all. I was planning to continue where this comment left for a while but life happened.

All in all, I think we'll have to fix this hash problem before we are able to bump the version for the package.

@utdemir

utdemir commented Mar 21, 2026

Copy link
Copy Markdown
Member Author

Thanks @booxter - I should've searched before :). I'm happy to close this PR as the previous one has more discussion - once it's fixed it's trivial to update to another version anyway.

@utdemir utdemir closed this Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants