[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cmake-build-system: modify-phases picks up wrong %standard-phases
From: |
Hartmut Goebel |
Subject: |
Re: cmake-build-system: modify-phases picks up wrong %standard-phases |
Date: |
Thu, 23 Jan 2020 14:55:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
Hi Ludo,
thanks for the explanation.
> If you do:
>
> #:modules ,%cmake-build-system-modules
>
> then you’re also putting (guix build gnu-build-system) in scope, hence
> the collision for the ‘%standard-phases’ binding.
I wonder whether this could this be avoided by changing the order:
(define %cmake-build-system-modules
`((guix build cmake-build-system)
,@%gnu-build-system-modules))
into
(define %cmake-build-system-modules
`(,@%gnu-build-system-modules
(guix build cmake-build-system)))
Or whether we should change `%standard-phases` int
`%camek-standard-phases` (and reps. for the other build-systems)
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |