My guix version
$ guix --version
guix (GNU Guix) 46eb357973f711b59bb1312025c9248010dc1040
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.
Running a guix command from the repository fails
$ ./pre-inst-env guix --version
Backtrace:
In ice-9/boot-9.scm:
3223:13 19 (_)
In ice-9/threads.scm:
390:8 18 (_ _)
In ice-9/boot-9.scm:
3507:20 17 (_)
2806:4 16 (save-module-excursion _)
3527:26 15 (_)
In unknown file:
14 (primitive-load-path "guix/store" #<procedure 7ffa819c1…>)
In guix/store.scm:
23:0 13 (_)
In ice-9/boot-9.scm:
3380:4 12 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
3393:24 11 (_)
222:29 10 (map1 (((guix utils)) ((guix config)) ((guix #)) ((…)) …))
222:29 9 (map1 (((guix config)) ((guix deprecation)) ((guix …)) …))
222:29 8 (map1 (((guix deprecation)) ((guix memoization)) ((…)) …))
222:29 7 (map1 (((guix memoization)) ((guix serialization)) (#) …))
222:29 6 (map1 (((guix serialization)) ((guix monads)) ((# #)) …))
222:29 5 (map1 (((guix monads)) ((guix records)) ((guix #)) (#) …))
222:29 4 (map1 (((guix records)) ((guix base16)) ((guix #)) (#) …))
222:29 3 (map1 (((guix base16)) ((guix base32)) ((gcrypt #)) # …))
222:29 2 (map1 (((guix base32)) ((gcrypt hash)) ((guix #)) (#) …))
222:17 1 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs #)) # …))
3300:6 0 (resolve-interface (gcrypt hash) #:select _ #:hide _ # _ …)
ice-9/boot-9.scm:3300:6: In procedure resolve-interface:
no code for module (gcrypt hash)
But when setting up a guix environment first, it works...
$ guix environment guix
$ guix --version
guix (GNU Guix) 46eb357973f711b59bb1312025c9248010dc1040
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.
$ ./pre-inst-env guix --version
guix (GNU Guix) 1.0.1.21633-f4637
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.