From: Marius Bakke <mbakke@fastmail.com>
To: Christopher Baines <mail@cbaines.net>, 30924@debbugs.gnu.org
Subject: [bug#30924] [PATCH] gnu: Add cloud-foundry-cli.
Date: Mon, 26 Mar 2018 19:55:54 +0200 [thread overview]
Message-ID: <87zi2uiuvp.fsf@fastmail.com> (raw)
In-Reply-To: <20180324160404.1759-1-mail@cbaines.net>
[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]
Christopher Baines <mail@cbaines.net> writes:
> * gnu/packages/cloud-foundry.scm: New file.
[...]
> + (build-system go-build-system)
> + (arguments
> + '(#:import-path "code.cloudfoundry.org/cli"
> + #:phases
> + (modify-phases %standard-phases
> + ;; This should be redundant once the vendor directory is removed from
> + ;; this package
> + (add-before 'reset-gzip-timestamps 'remove-readonly-gzip-files
> + (lambda* (#:key outputs #:allow-other-keys)
> + (for-each delete-file
> + (find-files
> + (assoc-ref outputs "out")
> + ".*\\.gz"))))
'for-each' has an unspecified return value, so please add #t here.
> + (add-after 'install 'rename-binary
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out")))
> + (rename-file (string-append out "/bin/cli")
> + (string-append out "/bin/cf"))))))))
Ditto for 'rename-file'.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
prev parent reply other threads:[~2018-03-26 17:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-24 15:05 [bug#30924] [PATCH] Add cloud-foundry-cli Christopher Baines
2018-03-24 16:04 ` [bug#30924] [PATCH] gnu: " Christopher Baines
2018-03-26 17:55 ` Marius Bakke [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zi2uiuvp.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=30924@debbugs.gnu.org \
--cc=mail@cbaines.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.