I've just decided to revisit this topic. Building 'nushell'-0.97.1 on my home directory, i.e. outside pkgsrc, using only 'cargo build --release' works just fine. So, something in pkgsrc is causing this. /Pedro