at one point i tried to compile some large projects written in golang in a 
reproducible way, and making sure that they use the exact same versions of all 
their dependencies.

in short: there's a philosophical mismatch between how guix and the golang 
crowd looks at building go apps. guix likes to explicitly represent every 
dependency in the guix namespace. golang has its own way of gathering the 
dependencies (and the nixos crowd don't mind "vendoring" the dependencies).

i've also worked on the golang importer (https://issues.guix.gnu.org/55242 
which needs a bit more care). once it works reliably enough, then it'd be 
possible to import the entire transitive closure of the dependencies into an 
isolated namespace in guix, which would be a halfway solution between the two 
conflicting philosophies.

for now i've abandoned that endeavour in favor of adding binary packages to my 
channel, but i made some notes on the way:

https://issues.guix.gnu.org/43872

a go-build-system patch
http://issues.guix.gnu.org/50227
discussion with iskarian
https://logs.guix.gnu.org/guix/2021-08-31.log#024401
https://logs.guix.gnu.org/guix/2021-08-31.log#180940
<lfam>  iskarian: If you search for my name and "go" or "golang" in the mailing 
list archives, you should find a lot of discussion
https://savannah.gnu.org/users/lfam
<lfam>  Here's a more recent message from me: 
https://lists.gnu.org/archive/html/guix-devel/2019-03/msg00227.html
<iskarian>      Ah, I see I've unknowingly repeated you! 
https://lists.gnu.org/archive/html/guix-patches/2021-08/msg01222.html
<lfam>  Heh, it's gratifying that someone else came to the same conclusion. It 
means I wasn't totally in the weeds

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“The anxiety children feel at constantly being tested, their fear of failure, 
punishment, and disgrace, severely reduces their ability both to perceive and 
to remember, and drives them away from the material being studied into 
strategies for fooling teachers into thinking they know what they really don't 
know.”
        — John Holt (1923–1985), 'How Children Learn' (1967)


  • Updates for Go Katherine Cox-Buday
    • Re: Updates ... Development of GNU Guix and the GNU System distribution.
      • Re: Upda... Katherine Cox-Buday
        • Re: ... Wilko Meyer
          • ... Development of GNU Guix and the GNU System distribution.
          • ... Attila Lendvai
            • ... Katherine Cox-Buday
          • ... Katherine Cox-Buday
            • ... Development of GNU Guix and the GNU System distribution.
              • ... Katherine Cox-Buday
              • ... Josselin Poiret
                • ... Attila Lendvai
                • ... Development of GNU Guix and the GNU System distribution.
                • ... Katherine Cox-Buday
                • ... wolf
                • ... Katherine Cox-Buday

Reply via email to