Monorepo for Tangled
0

Configure Feed

Select the types of activity you want to include in your feed.

nix: fix cargo in darwin nix devshell

Signed-off-by: Seongmin Lee <git@boltless.me>

Seongmin Lee (Jul 14, 2026, 4:05 AM +0900) cc28a73a 5a79fb45

+4
+4
flake.nix
··· 329 329 ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ 330 330 pkgs.darwin.cctools 331 331 ]; 332 + } 333 + // pkgs.lib.optionalAttrs pkgs.stdenv.isDarwin { 334 + # Point cargo's linker at the nix cc-wrapper so NIX_LDFLAGS applies. 335 + "CARGO_TARGET_${pkgs.lib.toUpper (builtins.replaceStrings ["-"] ["_"] pkgs.stdenv.hostPlatform.rust.rustcTarget)}_LINKER" = "${pkgs.pkgsStatic.stdenv.cc.targetPrefix}cc"; 332 336 }); 333 337 in { 334 338 default = staticShell {