Revert "emacsPackages.dap-mode: fix build"

This reverts commit fe5312cd44.

To make this fix reach users sooner, we revert it on the staging-next
branch and reapply it to the master branch.
This commit is contained in:
Lin Jian
2025-02-11 12:21:54 +08:00
parent 87adf3ef9f
commit 6a2d3a9b14
@@ -982,19 +982,14 @@ let
cssh = ignoreCompilationError super.cssh; # elisp error
dap-mode = super.dap-mode.overrideAttrs (
finalAttrs: previousAttrs: {
# empty file causing native-compiler-error-empty-byte
preBuild =
if lib.versionOlder finalAttrs.version "20250131.1624" then
''
rm --verbose dapui.el
''
+ previousAttrs.preBuild or ""
else
previousAttrs.preBuild or null;
}
);
dap-mode = super.dap-mode.overrideAttrs (old: {
# empty file causing native-compiler-error-empty-byte
preBuild =
''
rm --verbose dapui.el
''
+ old.preBuild or "";
});
db-pg = ignoreCompilationError super.db-pg; # elisp error