guix-devel
[Top][All Lists]
Advanced

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

Re: 01/01: gnu: ccl: Include x86-headers and remove missing "contrib" fo


From: Ludovic Courtès
Subject: Re: 01/01: gnu: ccl: Include x86-headers and remove missing "contrib" folder.
Date: Thu, 22 Nov 2018 10:18:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Pierre Neidhardt <address@hidden> skribis:

> Oops!  Sorry for that.

No problem.  :-)

> What would be the most lispy way to return nothing from the match?
> I'm thinking of splicing the resulting lists, but that sounds a bit overkill:
>
> (let ((dirs '("lib" "library" "examples" "tools" "objc-bridge"
>               ,@(match (%current-system)
>                  ("x86_64-linux"
>                   '("x86-headers64"))
>                  ("i686-linux"
>                   '("x86-headers"))
>                  (_ '())))))
>
> Thoughts?

LGTM.  Make sure ‘guix build’ and ‘guix lint’ are happy too.  :-)

Thanks,
Ludo’.



reply via email to

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