Unverified Commit 3d37c007 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #318632 from r-ryantm/auto-update/texpresso

texpresso: 0-unstable-2024-05-23 -> 0-unstable-2024-06-22
parents f5f8ab2a 13514d5f
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
@@ -17,7 +17,13 @@

stdenv.mkDerivation rec {
  pname = "texpresso";
  version = "0-unstable-2024-05-23";
  version = "0-unstable-2024-06-22";

  postPatch = ''
    substituteInPlace Makefile \
      --replace-fail "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc" \
      --replace-fail "LDCC=g++" "LDCC=${stdenv.cc.targetPrefix}c++"
  '';

  nativeBuildInputs = [
    makeWrapper
@@ -35,12 +41,16 @@ stdenv.mkDerivation rec {
  src = fetchFromGitHub {
    owner = "let-def";
    repo = "texpresso";
    rev = "01cafac1ec6d33d5e169a0202f23a6f565cc55b8";
    hash = "sha256-uLGanGEUGzxIYFbU3U8LLV3bpn/IN9XltvWCmwSlD7E=";
    rev = "e1e05f5559751d4b50772cd51d14101be0563ce1";
    hash = "sha256-av1yadR2giJUxFQuHSXFgTbCNsmccrzKOmLVnAGJt6c=";
  };

  buildFlags = [ "texpresso" ];

  env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
    "-Wno-error=implicit-function-declaration"
  ]);

  installPhase = ''
    runHook preInstall
    install -Dm0755 -t "$out/bin/" "build/${pname}"
@@ -70,5 +80,6 @@ stdenv.mkDerivation rec {
    description = "Live rendering and error reporting for LaTeX";
    maintainers = with lib.maintainers; [ nickhu ];
    license = lib.licenses.mit;
    platforms = lib.platforms.unix;
  };
}
+2 −2
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@ tectonic-unwrapped.override (old: {
      src = fetchFromGitHub {
        owner = "let-def";
        repo = "tectonic";
        rev = "bc522fabfdd17099deac2e12662b2a0810ceb104";
        hash = "sha256-0esXnUML6C9DYrpmBBB+ACypLvnLsYE9fuNiiCFfYzw=";
        rev = "b38cb3b2529bba947d520ac29fbb7873409bd270";
        hash = "sha256-ap7fEPHsASAphIQkjcvk1CC7egTdxaUh7IpSS5os4W8=";
        fetchSubmodules = true;
      };
      cargoHash = "sha256-62sxvPIiY3len1wsl7QelK3u4ekftIjcTqoIGZMYb5A=";