You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Collision between gcc and binutils despite lib.lowPrio on aarch64-darwin #380
Describe the bug
When creating a devshell on aarch64-darwin with gcc (or clang) and binutils, I get an error even though I'm using lib.lowPrio
pkgs.buildEnv error: two given paths contain a conflicting subpath:
`/nix/store/bkx74rgg0bxrvbmdp1fzb0qw0qxqj18v-binutils-wrapper-2.46/bin/strings' and
`/nix/store/r2rxcj66b6jkyzn68pk42frmh8zybzkp-gcc-wrapper-15.3.0/bin/strings'
This occurs when using the ruby language extension,
I spent some time investigating this. Apparently gcc is set to lowPrio by default in nixpkgs which results in binutils and gcc having the same priority if binutils is set to lowPrio. I've created a fix for the ruby language integration here: #389.
Activity
chvp commentedon Nov 7, 2026
I spent some time investigating this. Apparently gcc is set to
lowPrioby default in nixpkgs which results in binutils and gcc having the same priority ifbinutilsis set tolowPrio. I've created a fix for the ruby language integration here: #389.