guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/2] gnu: Add dub.


From: Pjotr Prins
Subject: Re: [PATCH v2 1/2] gnu: Add dub.
Date: Sat, 28 Jan 2017 06:19:20 +0000
User-agent: Mutt/1.6.2 (2016-07-01)

Great work!

On Mon, Jan 23, 2017 at 11:46:25PM +0100, Ludovic Courtès wrote:
> 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’.
> 

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]