Merge pull request #251201 from nagy/emacs-typst-mode
emacsPackages.typst-mode: replace program
This commit is contained in:
@@ -535,6 +535,13 @@ let
|
||||
(attrs.nativeBuildInputs or [ ]) ++ [ pkgs.git ];
|
||||
});
|
||||
|
||||
typst-mode = super.typst-mode.overrideAttrs (attrs: {
|
||||
postPatch = attrs.postPatch or "" + ''
|
||||
substituteInPlace typst-mode.el \
|
||||
--replace 'typst-executable-location "typst"' 'typst-executable-location "${lib.getExe pkgs.typst}"'
|
||||
'';
|
||||
});
|
||||
|
||||
vdiff-magit = super.vdiff-magit.overrideAttrs (attrs: {
|
||||
nativeBuildInputs =
|
||||
(attrs.nativeBuildInputs or [ ]) ++ [ pkgs.git ];
|
||||
|
||||
@@ -49,5 +49,6 @@ rustPlatform.buildRustPackage rec {
|
||||
changelog = "https://github.com/typst/typst/releases/tag/${src.rev}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ drupol figsoda kanashimia ];
|
||||
mainProgram = "typst";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user