Hello Guixters! Hope you are doing well.
Thank you, Pierre and Julien, for your answers. I am still looking for a convenient (but almost clean) way to work on my package definition. Maybe I push it too much, I don't know. I freshly cloned and built Guix from sources this morning. And I still encounter this strange behavior... Which I don't when I am in a pure environment... $ guix environment --pure guix [dev]$ echo '(use-modules (guix packages) (guix build-system emacs) (guix licenses) (guix git-download)) (package (name "") (version "") (source (origin (uri (git-reference (url "") (commit ""))) (method git-fetch) (sha256 (base32 "")))) (build-system emacs-build-system) (synopsis "") (description "") (license bsd-3) (home-page ""))' > /tmp/dummy-package-definition.scm [dev]$ ./pre-inst-env guix build -f /tmp/dummy-package- definition.scm guix build: error: derivation `/gnu/store/fkr651kwnllq46550ml6qjavi015d21d-git-checkout.drv' has incorrect output `/gnu/store/7ygy97wz9d1zcbz3k2kg1ga9g389bd7b-git- checkout', should be `/gnu/store/0fd9p27axy1jdw7fv29fa8i3sa0vajbl- git-checkout' [dev]$ ^C [dev]$ exit $ echo '(use-modules (guix packages) (guix build-system emacs) (guix licenses) (guix git-download)) (package (name "") (version "") (source (origin (uri (git-reference (url "") (commit ""))) (method git-fetch) (sha256 (base32 "")))) (build-system emacs-build-system) (synopsis "") (description "") (license bsd-3) (home-page ""))' > /tmp/dummy-package-definition.scm $ ./pre-inst-env guix build -f /tmp/dummy-package-definition.scm ice-9/eval.scm:142:16: In procedure compile-top-call: error: git-reference: unbound variable hint: Did you forget `(use-modules (guix git-download))'? Here is the Guix version from source : $ ./pre-inst-env guix --version guix (GNU Guix) 1.0.1.12434-51f30-dirty Copyright (C) 2020 the Guix authors License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. And the one on my system : $ guix --version guix (GNU Guix) 4f236f84a964c5d7071a08407f5b602dcb14c8ad Copyright © 2020 les auteurs de Guix Licence GPLv3+ : GNU GPL version 3 ou ultérieure < http://www.gnu.org/licenses/gpl.fr.html> Ceci est un logiciel libre : vous êtes libre de le modifier et de le redistribuer. Il n'y a AUCUNE GARANTIE, dans les limites permises par la loi. I am running on Ubuntu 18.04.4 LTS Is their any reason, any bug in my process ? Jérémy
