* meson needs certain version
@ 2021-08-09 23:10 Andy Tai
2021-08-10 1:20 ` Fredrik Salomonsson
0 siblings, 1 reply; 2+ messages in thread
From: Andy Tai @ 2021-08-09 23:10 UTC (permalink / raw)
To: help-guix
Hi, I am trying to create package definition for some specific package
and it uses meson for build. When I try to guix build the package,
it fails with
meson.build:1:0: ERROR: Meson version is 0.53.2 but project requires >= 0.54
I find meson later than 0.53.2 in guix already, but how in package
definition to specify to use a particular meson version? Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: meson needs certain version
2021-08-09 23:10 meson needs certain version Andy Tai
@ 2021-08-10 1:20 ` Fredrik Salomonsson
0 siblings, 0 replies; 2+ messages in thread
From: Fredrik Salomonsson @ 2021-08-10 1:20 UTC (permalink / raw)
To: Andy Tai, help-guix
Hi,
Andy Tai <atai@atai.org> writes:
> Hi, I am trying to create package definition for some specific package
> and it uses meson for build. When I try to guix build the package,
> it fails with
>
> meson.build:1:0: ERROR: Meson version is 0.53.2 but project requires >= 0.54
>
> I find meson later than 0.53.2 in guix already, but how in package
> definition to specify to use a particular meson version? Thanks
>
I use something like this in my guix.scm for a package that uses meson
and requires a version newer than 0.53.2
---8<---------------------------------------------------------------------------
(use-modules
(guix build-system meson)
…
(gnu packages build-tools)
)
(define-public foo
(package
…
(build-system meson-build-system)
(arguments
`(#:meson ,meson-0.55))
…
))
--->8---------------------------------------------------------------------------
Note that the defintion of meson-0.55 in the build-tools.scm has the
comment
;; Added temporarily for packages that need it.
;; TODO: Remove when core-updates is merged.
(define-public meson-0.55
…
)
So it might be safer to use meson-next to avoid breakage if/when
meson-0.55 gets removed.
--
s/Fred[re]+i[ck]+/Fredrik/g
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-10 1:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09 23:10 meson needs certain version Andy Tai
2021-08-10 1:20 ` Fredrik Salomonsson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.