File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 2020let
2121 protobufGenerated = generateProtobufCode {
2222 pname = "zitadel-console" ;
23+ inherit version ;
2324 nativeBuildInputs = [
2425 grpc-gateway
2526 protoc-gen-grpc-web
2829 workDir = "console" ;
2930 bufArgs = "../proto --include-imports --include-wkt" ;
3031 outputPath = "src/app/proto" ;
31- hash = "sha256-n6BJ1gSSm66yOGdHcSea/nQbjiHZX2YX2zbFT4o75/4 =" ;
32+ hash = "sha256-3WvfbhLpp03yP7Nb8bmZXYSlGJuEnBkBuyEzNVkIYZg =" ;
3233 } ;
3334in
3435stdenv . mkDerivation {
@@ -41,7 +42,7 @@ stdenv.mkDerivation {
4142
4243 offlineCache = fetchYarnDeps {
4344 yarnLock = "${ zitadelRepo } /console/yarn.lock" ;
44- hash = "sha256-MWATjfhIbo3cqpzOdXP52f/0Td60n99OTU1Qk6oWmXU =" ;
45+ hash = "sha256-+7CFBEKfRsqXbJR+BkLdB+pZ/dEEk4POGwZOVQ1LAUo =" ;
4546 } ;
4647
4748 nativeBuildInputs = [
Original file line number Diff line number Diff line change 1616} :
1717
1818let
19- version = "2.58.3 " ;
19+ version = "2.71.1 " ;
2020 zitadelRepo = fetchFromGitHub {
2121 owner = "zitadel" ;
2222 repo = "zitadel" ;
2323 rev = "v${ version } " ;
24- hash = "sha256-RXcJwGO8OQ38lbuy2uLTSkh6yUbyqY42FpwgMXC3g6c =" ;
24+ hash = "sha256-izYsf2Cc0jG8Wf82K6HsTVP+kAhmoEJVU7OJXhSzXLo =" ;
2525 } ;
26- goModulesHash = "sha256-gp17dP67HX7Tx3Gq+kEu9xCYkfs/rGpqLFiKT7cKlrc =" ;
26+ goModulesHash = "sha256-mE0vhW1nW16SzqIu0C3q8qCXabJO7fZgkp7GeLWCwog =" ;
2727
2828 buildZitadelProtocGen =
2929 name :
5555 generateProtobufCode =
5656 {
5757 pname ,
58+ version ,
5859 nativeBuildInputs ? [ ] ,
5960 bufArgs ? "" ,
6061 workDir ? "." ,
6162 outputPath ,
6263 hash ,
6364 } :
6465 stdenv . mkDerivation {
65- name = "${ pname } -buf-generated" ;
66+ pname = "${ pname } -buf-generated" ;
67+ inherit version ;
6668
6769 src = zitadelRepo ;
6870 patches = [ ./console-use-local-protobuf-plugins.patch ] ;
8890
8991 protobufGenerated = generateProtobufCode {
9092 pname = "zitadel" ;
93+ inherit version ;
9194 nativeBuildInputs = [
9295 grpc-gateway
9396 protoc-gen-authoption
97100 protoc-gen-zitadel
98101 ] ;
99102 outputPath = ".artifacts" ;
100- hash = "sha256-KRf11PNn7LtVFjG3NYUtPEJtLNbnxfzR4B69US07B3k =" ;
103+ hash = "sha256-11ByEuamYpCUeuqNr8ZVNCo4r3aSfuPXXhIu6mUqlzU =" ;
101104 } ;
102105in
103106buildGoModule rec {
You can’t perform that action at this time.
0 commit comments