aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm15
1 files changed, 9 insertions, 6 deletions
diff --git a/guix.scm b/guix.scm
index 9815b4c..d7c7e96 100644
--- a/guix.scm
+++ b/guix.scm
@@ -1,4 +1,5 @@
(use-modules (guix packages)
+ (guix utils)
(guix git-download)
(guix build-system ruby)
(gnu packages ruby)
@@ -24,12 +25,14 @@
,(package
(inherit ruby-terraform)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'replace-git-ls-files
- (lambda _
- (substitute* "ruby_terraform.gemspec"
- (("`git ls-files -z`") "`find . -type f -print0`")))))))
+ (substitute-keyword-arguments
+ (package-arguments ruby-terraform)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (replace 'replace-git-ls-files
+ (lambda _
+ (substitute* "ruby_terraform.gemspec"
+ (("`git ls-files -z`") "`find . -type f -print0`"))))))))
(source
(origin
(method git-fetch)