[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/12: gnu: emacs-tuareg: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
05/12: gnu: emacs-tuareg: Don't use unstable tarball. |
Date: |
Sun, 14 Apr 2019 23:18:52 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit f541d86de675a33b58488526bdc08b06bd905d8a
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Tue Apr 9 00:10:06 2019 +0200
gnu: emacs-tuareg: Don't use unstable tarball.
* gnu/packages/ocaml.scm (emacs-tuareg)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[arguments]: Add ‘make-git-checkout-writable’ phase.
---
gnu/packages/ocaml.scm | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a565b2e..6bb15dc 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -779,20 +779,25 @@ the OCaml core distribution.")
(package
(name "emacs-tuareg")
(version "2.2.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/ocaml/tuareg/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1ynpfc170f9jqx49biji9npfkvfpflbm29xf24wc7fnxxayr49ig"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml/tuareg.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06zxnn85fk5087iq0zxc5l5n9fz8r0367wylmynbfhc9711vccy6"))))
(build-system gnu-build-system)
(native-inputs `(("emacs" ,emacs-minimal)
("opam" ,opam)))
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'make-git-checkout-writable
+ (lambda _
+ (for-each make-file-writable (find-files "."))
+ #t))
(delete 'configure)
(add-before 'install 'fix-install-path
(lambda* (#:key outputs #:allow-other-keys)
- branch master updated (f6e3f0f -> a8f52ad), guix-commits, 2019/04/14
- 02/12: gnu: ocaml4.02-ezjsonm: Fix tag., guix-commits, 2019/04/14
- 04/12: gnu: camlp5: Don't use unstable tarball., guix-commits, 2019/04/14
- 08/12: gnu: hypre: Don't use unstable tarball., guix-commits, 2019/04/14
- 10/12: gnu: sbcl-cffi-bootstrap: Don't use unstable tarball., guix-commits, 2019/04/14
- 12/12: gnu: laby: Fix build., guix-commits, 2019/04/14
- 01/12: gnu: ocamlbuild: Don't use unstable tarball., guix-commits, 2019/04/14
- 05/12: gnu: emacs-tuareg: Don't use unstable tarball.,
guix-commits <=
- 03/12: gnu: address@hidden: Don't use unstable tarball., guix-commits, 2019/04/14
- 07/12: gnu: openspecfun: Don't use unstable tarball., guix-commits, 2019/04/14
- 06/12: gnu: muparser: Don't use unstable tarball., guix-commits, 2019/04/14
- 11/12: gnu: sbcl-hunchentoot: Don't use unstable tarball., guix-commits, 2019/04/14
- 09/12: gnu: hypre: Update to 2.15.1., guix-commits, 2019/04/14