Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3388352
D4480.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
722 B
Referenced Files
None
Subscribers
None
D4480.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
@@ -6,6 +6,7 @@
, boost
, cargo
, cmake
+, cocoapods
, cryptopp
, darwin
, folly
@@ -52,7 +53,8 @@
pkg-config
protobuf_3_15_cmake
grpc
-
+ ] ++ lib.optionals stdenv.isDarwin [
+ cocoapods # needed for ios
];
# include any libraries buildInputs
@@ -77,6 +79,11 @@
export MYSQL_UNIX_PORT=''${XDG_RUNTIME_DIR:-/run/user/$UID}/mysql-socket/mysql.sock
fi
+ if [[ "$OSTYPE" == 'darwin'* ]]; then
+ # Many commands for cocoapods expect the native BSD versions of commands
+ export PATH=/usr/bin:$PATH
+ fi
+
echo "Welcome to Comm dev environment! :)"
'';
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 1:51 PM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2601186
Default Alt Text
D4480.diff (722 B)
Attached To
Mode
D4480: [Nix] Add cocoapods for ios build
Attached
Detach File
Event Timeline
Log In to Comment