devenv icon indicating copy to clipboard operation
devenv copied to clipboard

xcode paths being set by devenv.

Open niteshbalusu11 opened this issue 9 months ago • 6 comments

I am unable to understand where nix is setting xcode paths. I removed all react-native related things in my devenv file and left only android, may I know why ios paths are being set? I am unable to override them.

My devenv.nix file

{ pkgs, lib, config, inputs, ... }:
{
  android = {
    platforms.version = [ "35" "34" ];
    enable = true;
    android-studio.enable = false;
    platformTools.version = "35.0.2";
    ndk = {
      enable = true;
      version = [ "25.1.8937393" "26.1.10909125" ];
    };
    buildTools.version = [ "35.0.0" "34.0.0" ];
  };

  languages.javascript.enable = true;
  languages.javascript.bun.enable = true;

}

inside my project directory:

❯ xcode-select -p
/nix/store/2y71rl5mnazwnpwpcq07xx97jl7sy5lh-apple-sdk-11.3

outside my project directory:

❯ xcode-select -p
/Applications/Xcode.app/Contents/Developer

niteshbalusu11 avatar Jan 15 '25 17:01 niteshbalusu11