Skip to content

Commit

Permalink
emacs.pkgs.seq: fix build
Browse files Browse the repository at this point in the history
(cherry picked from commit a9cfbfd)
  • Loading branch information
jian-lin authored and github-actions[bot] committed Mar 2, 2024
1 parent f2d4a74 commit bd1acf9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ self: let
rm $outd/xapian-lite.cc $outd/emacs-module.h $outd/emacs-module-prelude.h $outd/demo.gif $outd/Makefile
'';
});

# 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
'';
});
};

elpaDevelPackages = super // overrides;
Expand Down
12 changes: 12 additions & 0 deletions pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
});


};

Expand Down

0 comments on commit bd1acf9

Please sign in to comment.