GNU bug report logs -
#30924
[PATCH] Add cloud-foundry-cli.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Christopher Baines <mail <at> 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'.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.