Skip to content

Commit

Permalink
emacs: let nix build for manualPackages fail if native-comp fails
Browse files Browse the repository at this point in the history
This helps find packaging issues or issues in the package itself.
  • Loading branch information
jian-lin committed Aug 17, 2024
1 parent b9073be commit 2421239
Show file tree
Hide file tree
Showing 41 changed files with 82 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ melpaBuild {
popon
];

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ melpaBuild {

files = ''("acm/*.el" "acm/icons")'';

ignoreCompilationError = false;

meta = {
description = "Asynchronous Completion Menu";
homepage = "https://github.com/manateelazycat/lsp-bridge";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ melpaBuild {

files = ''("src/data/emacs-mode/*.el")'';

ignoreCompilationError = false;

meta = {
inherit (Agda.meta) homepage license;
description = "Agda2-mode for Emacs extracted from Agda package";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ melpaBuild {
})
];

ignoreCompilationError = false;

passthru.updateScript = gitUpdater { };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ melpaBuild {
hash = "sha256-JCrmS3FSGDHSR+eAR0X/uO0nAgd3TUmFxwEVH5+KV+4=";
};

ignoreCompilationError = false;

meta = {
homepage = "https://www.emacswiki.org/emacs/control-lock.el";
description = "Like caps-lock, but for your control key";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ melpaBuild {

propagatedUserEnvPkgs = [ nodejs ];

ignoreCompilationError = false;

meta = {
description = "Unofficial copilot plugin for Emacs";
homepage = "https://github.com/copilot-emacs/copilot.el";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ melpaBuild rec {
hash = "sha256-GFEDWT88Boz/DxEcmFgf7u2NOoMjAN05yRiYwoYtvXc=";
};

ignoreCompilationError = false;

meta = {
homepage = "https://gitweb.gentoo.org/proj/ebuild-mode.git/";
description = "Major modes for Gentoo package files";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ melpaBuild {

files = ''(:defaults "msg")'';

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ melpaBuild {
make
'';

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {
hash = "sha256-DIGvnotSQYIgHxGxtyCALHd8ZbrfkmdvjLXlkcqQ6v4=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ melpaBuild {
markdown-mode
];

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ melpaBuild {
hash = "sha256-er+knxqAejgKAtOnhqHfsGN286biHFdeMIUlbW7JyYw=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {
hash = "sha256-xwVCAdxnIRHrFNWvtlM3u6CShsUiGgl1CiBTsp2x7IM=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {
hash = "sha256-3QDw4W3FbFvb2zpkDHAo9BJKxs3LaehyvUVJPKqS9RE=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ melpaBuild {
helm
];

ignoreCompilationError = false;

meta = {
homepage = "https://github.com/emacsmirror/helm-words";
description = "Helm extension for looking up words in dictionaries and thesauri";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {

packageRequires = [ haskell-mode ];

ignoreCompilationError = false;

meta = {
inherit (hsc3.meta) homepage license;
description = "Emacs mode for hsc3";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {
hash = "sha256-Xbt0D9EgmvN1hDTeLbdxq1ARHObj8M4GfH2sbFILRTI=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ melpaBuild {
prop-menu
];

ignoreCompilationError = false;

passthru.updateScript = gitUpdater { };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ melpaBuild {
hash = "sha256-h/jkIWjkLFbtBp9F+lhA3CulYy2XaeloLmexR0CDm3E=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {
hash = "sha256-Xli7TxBenl5cDMJv3Qz7ZELFpvJKStMploLpf9a+uoA=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ melpaBuild rec {
mv tmp.el jam-mode.el
'';

ignoreCompilationError = false;

meta = {
description = "Emacs major mode for editing Jam files";
license = lib.licenses.gpl2Plus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ melpaBuild {

files = ''("tools/emacs/ligo-mode.el")'';

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ melpaBuild {
"llvm/utils/emacs/README")
'';

ignoreCompilationError = false;

meta = {
inherit (llvmPackages.llvm.meta) homepage license;
description = "Major mode for the LLVM assembler language";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ melpaBuild {

__darwinAllowLocalNetworking = true;

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ melpaBuild {
# to compile lspce.el, it needs lspce-module.so
files = ''(:defaults "${lib.getLib lspce-module}/lib/lspce-module.*")'';

ignoreCompilationError = false;

passthru = {
inherit lspce-module;
updateScript = nix-update-script {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ elpaBuild {
popd
'';

ignoreCompilationError = false;

meta = mu.meta // {
description = "Full-featured e-mail client";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ melpaBuild {
install -D --target-directory=$out/bin source/notdeft-xapian
'';

ignoreCompilationError = false;

passthru = {
updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ melpaBuild {
popd
'';

ignoreCompilationError = false;

meta = {
description = "Emacs ott mode (from ott sources)";
inherit (ott.meta) homepage license;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ melpaBuild {
install -Dm644 -t ''${!outputDoc}/share/doc/pod-mode/ $sourceRoot/ChangeLog $sourceRoot/README
'';

ignoreCompilationError = false;

meta = {
homepage = "https://metacpan.org/dist/pod-mode";
description = "Major mode for editing .pod-files";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ melpaBuild {
hash = "sha256-DJJfjbu27Gi7Nzsa1cdi8nIQowKH8ZxgQBwfXLB0Q/I=";
};

ignoreCompilationError = false;

meta = {
description = "Major mode for Prisma Schema Language";
license = lib.licenses.gpl2Only;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ melpaBuild {
--replace-fail ";; prolog.el ---" ";;; prolog.el ---"
'';

ignoreCompilationError = false;

meta = {
homepage = "https://bruda.ca/emacs/prolog_mode_for_emacs/";
description = "Prolog mode for Emacs";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ melpaBuild {
hash = "sha256-/8T1VTYkKUxlNWXuuS54S5jpl4UxJBbgSuWc17a/VyM=";
};

ignoreCompilationError = false;

passthru.updateScript = gitUpdater { };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ melpaBuild {
hash = "sha256-D36qiRi5OTZrBtJ/bD/javAWizZ8NLlC/YP4rdLCSsw=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ melpaBuild {
hash = "sha256-VXz3pO6N94XM8FzLSAoYrj3NEh4wp0UiuG6ad8M7nVU=";
};

ignoreCompilationError = false;

meta = {
homepage = "https://www.emacswiki.org/emacs/sv-kalender.el";
description = "Swedish calendar for Emacs";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ melpaBuild {

files = ''("emacs/*.el")'';

ignoreCompilationError = false;

meta = {
inherit (texpresso.meta) homepage license;
description = "Emacs mode for TeXpresso";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ melpaStablePackages.tree-sitter-langs.overrideAttrs(old: {
fi
'') plugins);

ignoreCompilationError = false;

passthru = old.passthru or {} // {
inherit plugins;
withPlugins = fn: final.tree-sitter-langs.override { plugins = fn tree-sitter-grammars; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ melpaBuild {

dontConfigure = true;

ignoreCompilationError = false;

meta = {
description = "Major mode for editing Ur/Web";
inherit (urweb.meta) license homepage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ melpaBuild {
el-patch
];

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {
hash = "sha256-jV5V3TRY+D3cPSz3yFwVWn9yInhGOYIaUTPEhsOBxto=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ melpaBuild {
hash = "sha256-ceCOBFfixmGVB3kaSvOv1YZThC2pleYnS8gXhLrjhA8=";
};

ignoreCompilationError = false;

meta = {
homepage = "https://www.emacswiki.org/emacs/yes-no.el";
description = "Specify use of `y-or-n-p' or `yes-or-no-p' on a case-by-case basis";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ melpaBuild {
hash = "sha256-Etl95rcoRACDPjcTPQqYK2L+w8OZbOrTrRT0JadMdH4=";
};

ignoreCompilationError = false;

passthru.updateScript = unstableGitUpdater { };

meta = {
Expand Down

0 comments on commit 2421239

Please sign in to comment.