GNU bug report logs -
#50054
[PATCH] gnu: Add bgfx
Previous Next
Full log
Message #17 received at 50054 <at> debbugs.gnu.org (full text, mbox):
Or your intent is that each repo should be a separate package in guix,
like bgfx with its three git repos shall be three packages in guix?
On Sat, Aug 14, 2021 at 11:07 AM Andy Tai <lichengtai <at> gmail.com> wrote:
>
> Question: then how in the package definition can I check out
> submpodule repos and make them in the same relative positions for the
> build to work?
>
> On Sat, Aug 14, 2021 at 2:43 AM Leo Prikler
> <leo.prikler <at> student.tugraz.at> wrote:
> >
> > Hi,
> >
> > Am Samstag, den 14.08.2021, 01:35 -0700 schrieb Andy Tai:
> > > * gnu/packages/graphics.scm (bgfx): New variable
> > > ---
> > > gnu/packages/graphics.scm | 38
> > > ++++++++++++++++++++++++++++++++++++++
> ...
> > > + (method git-fetch)
> > > + (uri
> > > + (git-reference
> > > + (url "https://github.com/bkaradzic/bgfx.cmake")
> > > + (commit commit)
> > > + ;; Fetch git submodules
> > > + (recursive? #t)))
> > The use of submodules is discouraged because it's often hard to reason
> > about them. This is such a case. bgfx and the other submodules each
> > vendor a bunch of dependencies on top of the binaries that e.g. bx
> > ships as part of their tools repo.
> > > + (file-name (git-file-name name version))
> > > + (sha256
> > > + (base32
> > > + "1k18230zw3v2l0vgz5xi0l23fa0686yx0jd6hkvvvwp3zlakqp7n")))
> > > )
> > > +
> >
>
>
> --
> Andy Tai, atai <at> atai.org
> Year 2021 民國110年
> 自動的精神力是信仰與覺悟
> 自動的行為力是勞動與技能
--
Andy Tai, atai <at> atai.org
Year 2021 民國110年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
This bug report was last modified 1 year and 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.