Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe8dd7d

Browse files
committed
fix nix
1 parent199d2f1 commitbe8dd7d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎flake.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@
6060
xcpretty
6161
zizmor
6262
];
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+
'';
6371
};
6472

6573
default=pkgs.mkShellNoCC{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp