diff options
author | Christopher Baines <mail@cbaines.net> | 2018-12-31 13:05:17 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-31 13:05:17 +0000 |
commit | 3e78356904b610aa149dd2e2c30e832408f37acc (patch) | |
tree | 4347d9583ae5c0430a85417d2c7ead9881d5f279 | |
parent | 4bece2274e5b8cba5e2e6188b54e1161fc1d4b25 (diff) | |
download | govuk-mini-environment-admin-3e78356904b610aa149dd2e2c30e832408f37acc.tar govuk-mini-environment-admin-3e78356904b610aa149dd2e2c30e832408f37acc.tar.gz |
Fix build for ruby-terraform
-rw-r--r-- | guix.scm | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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) |