Mark H Weaver skribis: > In /nix/store/n670kdk9ysi9jlq3f6ki4glc34p35dc1-module-import/guix/build/union.scm: > 202: 9 [union-build "/nix/store/dn29z8fpkh33sxgwwbxg0cn7ih523v65-profile" # # ...] > 102: 8 [loop #] > In srfi/srfi-1.scm: > 578: 7 [map # (# # # # ...)] > In /nix/store/n670kdk9ysi9jlq3f6ki4glc34p35dc1-module-import/guix/build/union.scm: > 101: 6 [loop #] > In srfi/srfi-1.scm: > 578: 5 [map # (# # # # ...)] > In /nix/store/n670kdk9ysi9jlq3f6ki4glc34p35dc1-module-import/guix/build/union.scm: > 187: 4 [resolve-collision #] > In ice-9/boot-9.scm: > 793: 3 [call-with-input-file "/nix/store/25mp69n6i16b308sbyh42ic3qzld46li-ncurses-5.9/lib/terminfo" ...] > 793: 2 [call-with-input-file "/nix/store/y9q8dwgs8lxww2khkk1hfji1jihkfcz3-ncurses-5.9/lib/terminfo" ...] > In /nix/store/n670kdk9ysi9jlq3f6ki4glc34p35dc1-module-import/guix/build/union.scm: > 116: 1 [# #] > In unknown file: > ?: 0 [get-bytevector-n! # ...] > > ERROR: In procedure get-bytevector-n!: > ERROR: In procedure fport_fill_input: Is a directory The ‘lib/terminfo’ directory is apparently provided by two or more packages, so there’s a collision, leading to a ‘resolve-collision’ call, which in turns call ‘file=?’, which is not prepared to deal with directories. This patch should fix it: