Gcc and binutils conflict

I have listed my desired packages in env.nix as below

with import <nixpkgs> {}; [
        tmux
        htop
        tree
        wget
        gcc
        binutils
]

however when I run nix-env -irf env.nix. It complains:

error: Unable to build profile. There is a conflict for the following files:

         /nix/store/2hxsy57gl7s9gm6n6s8diqkg8bgfrm42-gcc-wrapper-12.3.0/bin/strings
         /nix/store/xhnicd6yr0flf7xasgfvb1wxax4143mz-binutils-wrapper-2.40/bin/strings
error: builder for '/nix/store/lr3j0sn8qkwyq1wrdg8yvdhhv07vbshn-user-environment.drv' failed with exit code 1;
       last 4 log lines:
       > error: Unable to build profile. There is a conflict for the following files:
       >
       >          /nix/store/2hxsy57gl7s9gm6n6s8diqkg8bgfrm42-gcc-wrapper-12.3.0/bin/strings
       >          /nix/store/xhnicd6yr0flf7xasgfvb1wxax4143mz-binutils-wrapper-2.40/bin/strings
       For full logs, run 'nix-store -l /nix/store/lr3j0sn8qkwyq1wrdg8yvdhhv07vbshn-user-environment.drv'.

I don’t understand. The two strings files are located in different directories so what makes the conflicting?

It tries to merge them into a single directory/symlinktree in .nix-profile

Maybe you want to do a pkgs.symlinkJoin manually, where precedence is expressed?