Hi Marek,

Thanks for your work Marek, i try to compile on my guix system, and that works 
(build & install) ! 


For others interested to try :

a) create a directory proton-bridge & cd into
b) clone sovereign.git with "git clone 
https://git.marekpasnikowski.pl/sovereign.git/"; 

c) create a .channel file with this content : 


(cons 

  (channel
  (name 'sovereign)
  (url "xxx/sovereign") ; => replace xxx by your pwd
  (branch "master"))
  %default-channels
)

d) Run "guix time-machine -C channels.scm -- build -v 3 proton-bridge --cores=1"
e) Replace xxx by derivation builded in d) : "guix time-machine -C channels.scm 
-- install /gnu/store/xxx"
f) Run Desktop-Bridge 


Best regards,
SR










Le mardi 10 décembre 2024 à 11:28 AM, Marek Paśnikowski 
<ma...@marekpasnikowski.pl> a écrit :

> 

> 

> I successfully built target bridge-nogui .
> 

> The last step required implementation of a 'make' phase in the go build
> process. I considered splitting out the go component into its own package, to
> be an input of a qt package, but was not able to do it correctly.
> Implementation of a go process in the gnu, or qt, build system is not even
> worth considering. Thus I settled on invocation of "make" with some flags to
> make it work in the go build system.
> 

> I also decided against any further optimization of the make invocation,
> because I am planning to implement all the build targets defined by upstream,
> if possible.
> 

> At this point, I need to rest a little. I will test the binary I built, see
> if it even works. After that I am going to rewrite the module in a single
> style. Only then I will work on the other targets.
> 

> I also need to properly learn the peculiarities of the Go build system. I
> would not be able to go this far without using random elements found in other
> Go packages. It is unfortunate, that the build system reference page is
> missing some key concepts in the Go process.
> https://guix.gnu.org/manual/en/html_node/Build-Systems.html
> 

> Marek Pasnikowski
> 

> 

> 

Attachment: publickey - s.rey.coyrehourcq@proton.me - 0xC3237850.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to