Failure in perl package cross compilation

I see failure in a perl package during cross compilation of nixos:


❤❤ ~> nix build .#packages.riscv64-linux.microchip-icicle-kit-release
warning: Git tree '/workspace/development/ghaf' is dirty
warning: input 'nixos-hardware' has an override for a non-existent input 'nixpkgs'
error: builder for '/nix/store/fnja41s603ci4nph9nbj49highiphbmj-perl5.36.0-Test-utf8-1.02-riscv64-unknown-linux-gnu.drv' failed with exit co
de 255;
last 10 log lines:
> patching ./t/03deu.t...
> Can't load module Fcntl, dynamic loading not available in this perl.
>   (You may need to build a new perl executable which either supports
>   dynamic loading or has the Fcntl module statically linked into it.)
>  at inc/Module/Install/Makefile.pm line 6.
> Compilation failed in require at inc/Module/Install/Makefile.pm line 6.
> BEGIN failed--compilation aborted at inc/Module/Install/Makefile.pm line 6.
> Compilation failed in require at inc/Module/Install.pm line 307.
> The 'makemaker_args' method does not exist in the 'inc' path!
> Please remove the 'inc' directory and run Makefile.PL again to load it.
For full logs, run 'nix log /nix/store/fnja41s603ci4nph9nbj49highiphbmj-perl5.36.0-Test-utf8-1.02-riscv64-unknown-linux-gnu.drv'.
error: 1 dependencies of derivation '/nix/store/ypvmnwbiz0ab6jmmdpjyqlscq7qks5ys-perl5.36.0-Test-File-1.443-riscv64-unknown-linux-gnu.drv' f
ailed to build
error: 1 dependencies of derivation '/nix/store/0dpfb8ahhs6pdijdn94plg54nrxmwqil-perl5.36.0-File-Copy-Recursive-0.45-riscv64-unknown-linux-g
nu.drv' failed to build                                                                                                                      
error: 1 dependencies of derivation '/nix/store/sw8c9qnih08icwyimcl74f8d82n47j9j-perl-riscv64-unknown-linux-gnu-5.36.0-env.drv' failed to bu
ild
error: 1 dependencies of derivation '/nix/store/gbvr27afcx24llsqxn81n9npdr96ncwr-install-grub.sh.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bg9826ganawnc56g7z7bvys2mz52jdk2-nixos-system-ghaf-host-22.11.20230306.7edcdf7.drv' failed t
o build
error: 1 dependencies of derivation '/nix/store/ih2jrv22vnw5ikbjm90ww8ri92dwhmfl-nixos-disk-image.drv' failed to build

Is there any way to remove this package from compilation?