Merge pull request #108507 from Ericson2314/ott-mode

ott-mode: Factor our from ott
This commit is contained in:
John Ericson 2021-01-10 14:30:59 -05:00 committed by GitHub
commit 05b5b5491e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 2 deletions

View File

@ -114,6 +114,19 @@
org-mac-link =
callPackage ./org-mac-link { };
ott-mode = self.trivialBuild {
pname = "ott-mod";
inherit (external.ott) src version;
postUnpack = "mv $sourceRoot/emacs/ott-mode.el $sourceRoot";
meta = {
description = "Standalone package providing ott-mode without building ott and with compiled bytecode.";
inherit (external.Agda.meta) homepage license;
};
};
perl-completion =
callPackage ./perl-completion { };

View File

@ -16,7 +16,13 @@ stdenv.mkDerivation rec {
installTargets = "ott.install";
postInstall = "opaline -prefix $out";
postInstall = ''
opaline -prefix $out
''
# There is `emacsPackages.ott-mode` for this now.
+ ''
rm -r $out/share/emacs
'';
meta = {
description = "A tool for the working semanticist";

View File

@ -21423,7 +21423,7 @@ in
inherit
autoconf automake editorconfig-core-c git libffi libpng pkgconfig
poppler rtags w3m zlib substituteAll rustPlatform cmake llvmPackages
libtool zeromq openssl;
libtool zeromq openssl ott;
};
};