[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/2] gnu: Add dub.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH v2 1/2] gnu: Add dub. |
Date: |
Mon, 23 Jan 2017 23:46:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Danny Milosavljevic <address@hidden> skribis:
> * gnu/packages/ldc.scm (dub): New variable.
[...]
> + (modify-phases %standard-phases
> + (delete 'configure)
> + (replace 'build
> + (lambda _
> + (zero? (system* "./build.sh"))))
> + (replace 'install
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (outbin (string-append out "/bin")))
> + (mkdir-p outbin)
> + (install-file "bin/dub" outbin)))))))
Please add #t at the end of this lambda, to denote success.
Otherwise LGTM, thanks!
Ludo’.