Trouble Installing Package on Arm64 GNU/Linux

Hi, when I try installing a package on arm64 GNU/Linux (PureOS):

nix-env -iA nixpkgs.ghostty

I get this error:

installing 'ghostty-1.1.3'
building '/nix/store/alkqd22nq3krwfrjzdna25xfiabamf1a-user-environment.drv'...
error: Unable to build profile. There is a conflict for the following files:

         /nix/store/23fvv19f9l83mhxhw606iz1x955mym8b-ghostty-1.1.3-terminfo/share/terminfo/x/xterm-ghostty
         /nix/store/7ajmr2mj3ms5ljah02zlcdl1djk3p227-ghostty-1.1.3/share/terminfo/x/xterm-ghostty
error: builder for '/nix/store/alkqd22nq3krwfrjzdna25xfiabamf1a-user-environment.drv' failed with exit code 1

Is this a bug? Can I work around it? Thanks.