From 1026a19ee13805c6cb44c676f0b648b06bf2efd2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 23 Jun 2018 22:51:17 +0100 Subject: Use a custom branch of ruby_terraform Which supports the -target option to the destroy command. --- guix.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/guix.scm b/guix.scm index 231f97a..547ef69 100644 --- a/guix.scm +++ b/guix.scm @@ -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) -- cgit v1.2.3