diff options
Diffstat (limited to 'guix.scm')
-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) |