Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33019260
D5331.1768384376.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
536 B
Referenced Files
None
Subscribers
None
D5331.1768384376.diff
View Options
diff --git a/nix/dev-shell.nix b/nix/dev-shell.nix
--- a/nix/dev-shell.nix
+++ b/nix/dev-shell.nix
@@ -1,4 +1,5 @@
{ mkShell
+, mkShellNoCC
, stdenv
, lib
, amqp-cpp
@@ -41,7 +42,15 @@
, yarn
}:
-mkShell {
+let
+ # For darwin, inherit the system's clang C Compiler to avoid issues
+ # around finding frameworks installed with XCode
+ mkCommShell = if stdenv.isDarwin then
+ mkShellNoCC
+ else
+ mkShell;
+
+in mkCommShell {
# programs which are meant to be executed should go here
nativeBuildInputs = [
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 9:52 AM (15 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5931178
Default Alt Text
D5331.1768384376.diff (536 B)
Attached To
Mode
D5331: [Nix] Use clang from XCode
Attached
Detach File
Event Timeline
Log In to Comment