We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199d2f1 commit be8dd7dCopy full SHA for be8dd7d
flake.nix
@@ -60,6 +60,14 @@
60
xcpretty
61
zizmor
62
];
63
+ shellHook = ''
64
+ # Copied from https://github.com/ghostty-org/ghostty/blob/c4088f0c73af1c153c743fc006637cc76c1ee127/nix/devShell.nix#L189-L199
65
+ # We want to rely on the system Xcode tools in CI!
66
+ unset SDKROOT
67
+ unset DEVELOPER_DIR
68
+ # We need to remove the nix "xcrun" from the PATH.
69
+ export PATH=$(echo "$PATH" | awk -v RS=: -v ORS=: '$0 !~ /xcrun/ || $0 == "/usr/bin" {print}' | sed 's/:$//')
70
+ '';
71
};
72
73
default = pkgs.mkShellNoCC {
0 commit comments