olivetin: improve reproducibility of gen derivation (#439358)

This commit is contained in:
Sandro
2025-09-02 23:18:31 +02:00
committed by GitHub
+6 -1
View File
@@ -48,8 +48,13 @@ buildGoModule (
runHook postInstall
'';
postFixup = ''
find $out -type f -name '*.go' -exec \
sed -i -E 's|//.*protoc-gen-go(-grpc)? +v.*$||' {} +
'';
outputHashMode = "recursive";
outputHash = "sha256-o+Zt3rmTK7NmBQ9hDlbxZySUlCx6Ks7yQTtdm9+pJac=";
outputHash = "sha256-wHqXsSV18mF/CfLQ0S4rGtT3QRcLnneYXAa8nXZaHpQ=";
};
webui = buildNpmPackage {