openapi-generator-cli: add passthru.updateScript

This commit is contained in:
eveeifyeve
2025-11-09 14:59:38 +11:00
parent cbb30140cf
commit f2d23ab872

View File

@@ -5,6 +5,7 @@
fetchFromGitHub, fetchFromGitHub,
maven, maven,
makeWrapper, makeWrapper,
nix-update-script,
}: }:
let let
@@ -47,8 +48,11 @@ let
runHook postInstall runHook postInstall
''; '';
passthru.tests.example = callPackage ./example.nix { passthru = {
openapi-generator-cli = this; updateScript = nix-update-script { };
tests.example = callPackage ./example.nix {
openapi-generator-cli = this;
};
}; };
meta = { meta = {