Message ID | 20200905081205.17967-1-mike@rohleder.de |
---|---|
State | Accepted |
Headers | show |
Series | [bug#43211] gnu: emacs-lice-el: Update to 0.2-2.482e58a. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
Hi, Michael Rohleder <mike@rohleder.de> writes: > * gnu/packages/emacs-xyz.scm (emacs-lice-el): Update to 0.2-2.482e58a. > [arguments]: Add phase 'install-templates. > --- > gnu/packages/emacs-xyz.scm | 16 +++++++++++++--- > 1 file changed, 13 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index d9716ba91c..a5a5e72411 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -15890,10 +15890,10 @@ Magit.") > (license license:gpl3+))) > > (define-public emacs-lice-el […] > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'install 'install-templates > + (lambda* (#:key outputs #:allow-other-keys) > + (copy-recursively > + "template" > + (string-append (assoc-ref outputs "out") > + "/share/emacs/site-lisp/template")) > + #t))))) > (home-page "https://github.com/buzztaiki/lice-el") > (synopsis "License and header template for Emacs") > (description "@code{lice.el} provides following features: The ‘site-lisp’ is not an appropriate place for this data. It's better to install those files in [1] directory, and substitute ‘lice.el’ accordingly so it could find them. [1] /gnu/store/...emacs-lice-el.../share/emacs-lice-el/template Could you update the patch with this change, please? Thanks, Oleg.
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d9716ba91c..a5a5e72411 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15890,10 +15890,10 @@ Magit.") (license license:gpl3+))) (define-public emacs-lice-el - (let ((commit "4339929927c62bd636f89bb39ea999d18d269250")) + (let ((commit "482e58ab83fff86ed754b00be27b62a219597e7c")) (package (name "emacs-lice-el") - (version (git-version "0.2" "1" commit)) + (version (git-version "0.2" "2" commit)) (source (origin (method git-fetch) (uri (git-reference @@ -15902,8 +15902,18 @@ Magit.") (file-name (git-file-name name version)) (sha256 (base32 - "0879z761b7gajkhq176ps745xpdrivch349crransv8fnsc759yb")))) + "0yxkjyhfk8kpr8yqz54gdx6xwkj4s8bnbz60162jh12crj0bs5n7")))) (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-templates + (lambda* (#:key outputs #:allow-other-keys) + (copy-recursively + "template" + (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp/template")) + #t))))) (home-page "https://github.com/buzztaiki/lice-el") (synopsis "License and header template for Emacs") (description "@code{lice.el} provides following features: