Unverified Commit 9cd5f467 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

olivetin: improve reproducibility of gen derivation (#439358)

parents 043f2b31 a45fb7f1
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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 {