Page MenuHomePhorge

D5331.1768384376.diff
No OneTemporary

Size
536 B
Referenced Files
None
Subscribers
None

D5331.1768384376.diff

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

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)

Event Timeline