~ruther/guix-local

3f7b091ea4897e3a170a54433a2476d3b6810dc4 — Nicolas Graves 3 years ago 7c861ab
gnu: emacs-buttercup: Remove phase fix-spy-on-test.

* gnu/packages/emacs-xyz.scm: (emacs-buttercup)
[arguments](phases): Remove phase fix-spy-on-test, fixed in version 1.31.

Signed-off-by: Andrew Tropin <andrew@trop.in>
1 files changed, 0 insertions(+), 10 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +0 -10
@@ 28520,16 28520,6 @@ targets the Emacs based IDEs (CIDER, ESS, Geiser, Robe, SLIME etc.)")
      #:test-command #~(list "make" "test")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-spy-on-test
            (lambda _
              (substitute* "buttercup.el"
                ;; The spy-on test fails with native compilation, which was
                ;; fixed in v1.30 but with a variable name for Emacs newer
                ;; than 28.2.  Add in the same fix with the current variable
                ;; name.  Upstream bug and fix:
                ;; <https://github.com/jorgenschaefer/emacs-buttercup/issues/236>
                (("\\(native-comp-enable-subr-trampolines nil\\)" all)
                 (string-append all " (comp-enable-subr-trampolines nil)")))))
          (add-after 'install 'install-bin
            (lambda _
              (install-file "bin/buttercup"