ruby-build-system: Make phase "replace-git-ls-files" handle more cases.
* guix/build/ruby-build-system.scm (replace-git-ls-files): Modify.
This commit is contained in:
parent
999ffb26df
commit
8376f10a30
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue