diff options
author | Lin Jian <me@linj.tech> | 2024-02-26 02:06:59 +0800 |
---|---|---|
committer | Lin Jian <me@linj.tech> | 2024-03-03 01:03:33 +0800 |
commit | a9cfbfda7f3354200dba03a2f122a20f50784601 (patch) | |
tree | 2eaa07e4cbe657298c74ce02ed88d9d950adb3ca /pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix | |
parent | 7374ffe8f734d5bc288dfb960c8df57c1a4f53d4 (diff) |
emacs.pkgs.seq: fix build
Diffstat (limited to 'pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix')
-rw-r--r-- | pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix index 4849f90edecd9..18a0a36fc06cb 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix @@ -171,6 +171,18 @@ self: let ''; }); + # native compilation for tests/seq-tests.el never ends + # delete tests/seq-tests.el to workaround this + seq = super.seq.overrideAttrs (old: { + dontUnpack = false; + postUnpack = (old.postUnpack or "") + "\n" + '' + local content_directory=$(echo seq-*) + rm --verbose $content_directory/tests/seq-tests.el + src=$PWD/$content_directory.tar + tar --create --verbose --file=$src $content_directory + ''; + }); + }; |