devenv: fix gc-related crashes on macOS

The Nix libraries already propagate their own customized boehmgc package.
Adding a second version to the build inputs allowed `nix-bindings-rust` to pick up this other version via `pkg-config`, resulting in the devenv binary linking against two different boehmgcs like so:

```
$ DYLD_PRINT_LIBRARIES=1 /nix/store/miq5nl5wr8hnqcsrkb8w10nlaj7wv1ws-devenv-2.0.3/bin/devenv version 2>&1 | rg libgc
dyld[35830]: <50EA88FB-2E5D-3581-9360-3976D543B9CA> /nix/store/hlg1hx8gis7w2gd8x074n0a4c4q9r1c6-boehm-gc-8.2.8/lib/libgc.1.dylib
dyld[35830]: <6CE27DA9-798D-3E69-B1F0-DB88F14138A8> /nix/store/jz6gcj47lfhccv4flvwqg5f2fgkcz0rq-boehm-gc-8.2.8/lib/libgc.1.dylib
```
This commit is contained in:
Sander
2026-03-12 17:10:31 +01:00
parent 311e1cf25d
commit c84671dbb4
-1
View File
@@ -78,7 +78,6 @@ rustPlatform.buildRustPackage {
openssl
sqlite
dbus
boehmgc
llvmPackages.clang-unwrapped
nix_components.nix-expr-c
nix_components.nix-store-c