emacs.pkgs.codesearch: ignore comilation error

https://hydra.nix-community.org/build/4121422
This commit is contained in:
Lin Jian
2025-03-15 20:59:12 +08:00
parent 3a7aa9a721
commit 8c93f33a4a
@@ -923,21 +923,24 @@ let
code-review = ignoreCompilationError super.code-review; # elisp error
codesearch = super.codesearch.overrideAttrs (
finalAttrs: previousAttrs: {
patches =
if lib.versionOlder finalAttrs.version "20240827.805" then
previousAttrs.patches or [ ]
++ [
(pkgs.fetchpatch {
name = "remove-unused-dash.patch";
url = "https://github.com/abingham/emacs-codesearch/commit/bd24a152ab6ea9f69443ae8e5b7351bb2f990fb6.patch";
hash = "sha256-cCHY8Ak2fHuuhymjSF7w2MLPDJa84mBUdKg27mB9yto=";
})
]
else
previousAttrs.patches or null;
}
# elisp error
codesearch = ignoreCompilationError (
super.codesearch.overrideAttrs (
finalAttrs: previousAttrs: {
patches =
if lib.versionOlder finalAttrs.version "20240827.805" then
previousAttrs.patches or [ ]
++ [
(pkgs.fetchpatch {
name = "remove-unused-dash.patch";
url = "https://github.com/abingham/emacs-codesearch/commit/bd24a152ab6ea9f69443ae8e5b7351bb2f990fb6.patch";
hash = "sha256-cCHY8Ak2fHuuhymjSF7w2MLPDJa84mBUdKg27mB9yto=";
})
]
else
previousAttrs.patches or null;
}
)
);
# https://github.com/hying-caritas/comint-intercept/issues/2