aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-12-31 13:05:17 +0000
committerChristopher Baines <mail@cbaines.net>2018-12-31 13:05:17 +0000
commit3e78356904b610aa149dd2e2c30e832408f37acc (patch)
tree4347d9583ae5c0430a85417d2c7ead9881d5f279
parent4bece2274e5b8cba5e2e6188b54e1161fc1d4b25 (diff)
downloadgovuk-mini-environment-admin-3e78356904b610aa149dd2e2c30e832408f37acc.tar
govuk-mini-environment-admin-3e78356904b610aa149dd2e2c30e832408f37acc.tar.gz
Fix build for ruby-terraform
-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)