diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-23 22:51:17 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-23 22:51:17 +0100 |
commit | 1026a19ee13805c6cb44c676f0b648b06bf2efd2 (patch) | |
tree | baee16ceb7ea8ea37b9f148bd19c44bb69d075e6 | |
parent | 482e707ecb5cb8a1924f6c9fd8e72b2d6ea946a1 (diff) | |
download | govuk-mini-environment-admin-1026a19ee13805c6cb44c676f0b648b06bf2efd2.tar govuk-mini-environment-admin-1026a19ee13805c6cb44c676f0b648b06bf2efd2.tar.gz |
Use a custom branch of ruby_terraform
Which supports the -target option to the destroy command.
-rw-r--r-- | guix.scm | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -20,7 +20,26 @@ ("ruby-gds-sso" ,ruby-gds-sso) ("ruby-govuk-admin-template" ,ruby-govuk-admin-template) ("ruby-plek" ,ruby-plek) - ("ruby-terraform" ,ruby-terraform) + ("ruby-terraform" + ,(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`"))))))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cbaines/ruby_terraform.git") + ;; hash for the support-passing-target-to-destroy branch + (commit "b858f9d7b1a5c193b94bd4bf38eea5fc3afd0295"))) + (sha256 + (base32 + "0714zhc0rak2wrb2yivy7a1naqlcccwgd90lp2vpjs7aj3j23i2k")))))) ("ruby-que" ,ruby-que) ("ruby-git" ,ruby-git) ("terraform" ,terraform) |