[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/15: gnu: elixir-hex: Remove redundant directory, fix lint warnings.
From: |
guix-commits |
Subject: |
02/15: gnu: elixir-hex: Remove redundant directory, fix lint warnings. |
Date: |
Tue, 2 Jul 2024 04:19:26 -0400 (EDT) |
abcdw pushed a commit to branch master
in repository guix.
commit fdfdb15539ff438954f5a2bbc5586861263ada19
Author: Igor Goryachev <igor@goryachev.org>
AuthorDate: Tue Jul 2 09:55:04 2024 +0300
gnu: elixir-hex: Remove redundant directory, fix lint warnings.
* gnu/packages/elixir.scm (elixir-hex): Remove redundant directory, fix
lint warnings.
Change-Id: Ic5b29d8ddb9c3d4dc058494cf6cbb5f60a492bb1
Signed-off-by: Andrew Tropin <andrew@trop.in>
---
gnu/packages/elixir.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
index ace067aa47..e2e9fcc245 100644
--- a/gnu/packages/elixir.scm
+++ b/gnu/packages/elixir.scm
@@ -174,7 +174,7 @@ being successfully used in web development and the embedded
software domain.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/hexpm/hex.git")
+ (url "https://github.com/hexpm/hex")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
@@ -201,9 +201,14 @@ being successfully used in web development and the
embedded software domain.")
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(define X.Y #$(version-major+minor (package-version elixir)))
- (define out (string-append (assoc-ref outputs "out")
"/lib/elixir/" X.Y "/hex"))
+ (define out (string-append (assoc-ref outputs "out")
+ "/lib/elixir/" X.Y "/hex"))
(mkdir-p out)
- (copy-recursively "_build/prod/lib/hex" out))))))
+ (let* ((prod-dir "_build/prod/lib/hex")
+ (prod-dir-mix (string-append prod-dir "/.mix")))
+ (and (directory-exists? prod-dir-mix)
+ (delete-file-recursively prod-dir-mix))
+ (copy-recursively "_build/prod/lib/hex" out)))))))
(synopsis "Package manager for the Erlang VM")
(description
"This project provides tasks that integrate with Mix, Elixir's build
- 01/15: gnu: elixir: Fix mix substitute., (continued)
- 01/15: gnu: elixir: Fix mix substitute., guix-commits, 2024/07/02
- 03/15: gnu: elixir: Update to 1.17.1., guix-commits, 2024/07/02
- 06/15: gnu: elixir-jason: Fix lint warnings., guix-commits, 2024/07/02
- 07/15: gnu: elixir-file-system: Update to 1.0.0., guix-commits, 2024/07/02
- 08/15: gnu: elixir-bunt: Update to 1.0.0., guix-commits, 2024/07/02
- 10/15: gnu: elixir-excoveralls: Update to 0.18.1, fix lint warnings., guix-commits, 2024/07/02
- 13/15: gnu: elixir-dialyxir: Update to 1.4.3., guix-commits, 2024/07/02
- 04/15: gnu: elixir-nimble-parsec: Update to 1.4.0., guix-commits, 2024/07/02
- 12/15: gnu: elixir-erlex: Update to 0.2.7., guix-commits, 2024/07/02
- 14/15: gnu: elixir-machete: Update to 0.3.3., guix-commits, 2024/07/02
- 02/15: gnu: elixir-hex: Remove redundant directory, fix lint warnings.,
guix-commits <=
- 05/15: gnu: elixir-makeup: Update to 1.1.2, make reproducible., guix-commits, 2024/07/02
- 09/15: gnu: elixir-castore: Update to 1.0.7., guix-commits, 2024/07/02
- 11/15: gnu: elixir-credo: Update to 1.7.7, fix lint warnings., guix-commits, 2024/07/02
- 15/15: build-sysem/mix: Preserve code paths., guix-commits, 2024/07/02