[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: ruby-build-system: Make phase "replace-git-ls-files" handle more
From: |
Danny Milosavljevic |
Subject: |
03/03: ruby-build-system: Make phase "replace-git-ls-files" handle more cases. |
Date: |
Tue, 24 Jul 2018 17:13:24 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 8376f10a30c1bb246689ba68984e680ddf0dffa1
Author: Danny Milosavljevic <address@hidden>
Date: Tue Jul 24 22:46:55 2018 +0200
ruby-build-system: Make phase "replace-git-ls-files" handle more cases.
* guix/build/ruby-build-system.scm (replace-git-ls-files): Modify.
---
guix/build/ruby-build-system.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/ruby-build-system.scm b/guix/build/ruby-build-system.scm
index a346e9f..3a658e2 100644
--- a/guix/build/ruby-build-system.scm
+++ b/guix/build/ruby-build-system.scm
@@ -78,7 +78,8 @@ operation is not deterministic, we replace it with `find`."
(when (not (gem-archive? source))
(let ((gemspec (first-gemspec)))
(substitute* gemspec
- (("`git ls-files`") "`find . -type f |sort`"))))
+ (("`git ls-files`") "`find . -type f |sort`")
+ (("`git ls-files -z`") "`find . -type f -print0 |sort -z`"))))
#t)
(define* (extract-gemspec #:key source #:allow-other-keys)