Christopher Baines wrote 6 years ago
unpack phase in the gnu-build-system is sometimes non-deterministic
(address . bug-guix@gnu.org)
I believe that the direnv package has encountered an issue with the
gnu-build-system [1].
Due to the combination of the 'setup-go-environment phase from the
go-build-system, and the 'unpack phase of the gnu-build-system, there
are two directories to be considered by first-subdirectory when called
from the unpack phase.
It seems from direnv that this either consistently, with the package
working on one machine, or failing consistently on another.
To avoid issues like this in the future, I think it would be good to
have first-subdirectory raise an error if it's behaviour could be
non-deterministic.
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAly+u8lfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9XevhRAAjrtgjyfuyX893fzE8MtSkxUsWvONwg+fixonyRD/SIU/rNqgGTahpYPx
kPiQ20MA8nZD2NtBmWC+JNKCQ6DVeIbfp9+uFyYqGZ6To6H9GNufC+BSyfr2I3+v
6TFLnNiGtDgJdEV/3kAndq3aB2bBme9jCpVVrHMd6K3y+dewN6+XLpWUbvTNgu5C
rB50TMaIyG8M0rBuf7oS+aPY48rV6NAaA3/f4gRl2kn2GflSfd+LI7T3sJeOYcA8
+u3jfmuHdpml0aWFWKU8t34Ixr2f3+Ynbax4WKLXN7G3cW/0mt8GSBfsVUV73yBE
koTsMry5UBsLw8ws4ZhkWuuCOFN3FAGID7+WCoHxpCUmkuEux3b3bQIZm22cKyQJ
1amXfh5jLbp2Dz2Dg0sXbnDEDR2mQ/OYlKIoOge75wO6fSQMvzZhbS7xIgzZufKG
gpfxLFRSfWOawvn3j+rf3XTuri98roKJSAQIB16kpBjSILfVEEn/WpR48RLGnExj
U2l7059LEwEo5O4F9A/pLvsfcQIDUHeWN4gAtidJO7w4nzYB8mcuunt/GCoIuYST
HUxBG2uk68ymj9sW6TGFRYeT9UFwqjKmfh9jJhE9Po83c655AU/BlKMGphNOA8v+
9jo2B0RFJOpg8EAOYx80kxtQvKuFNUuqDxs0Z2kH0lWJ2a1ftXE=
=F4zF
-----END PGP SIGNATURE-----