guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Clean all .go in clean-go


From: Eric Bavier
Subject: [PATCH] Clean all .go in clean-go
Date: Wed, 31 Aug 2016 18:20:33 -0500

From: Eric Bavier <address@hidden>

I encountered a runtime error recently while running `guix system
reconfigure`.  Thinking this might be because of an ABI break I ran `make 
clean-go && make` before trying again, with the same result.

It turns out a module had been renamed, in this case fish.scm to shells.scm,
but I had overlooked this and failed to update the list of modules in my
config.scm's (use-package-modules ...) statement.  However, I still had a
stale fish.go sitting in my build directory, which `make clean-go` had failed
to clean up, and guix happily loaded it.

I believe the following patch is an appropriate way to avoid such errors in
the future.

Eric Bavier (1):
  build: Clean all .go files in clean-go.

 Makefile.am | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]