Page MenuHomePhabricator

D4480.diff
No OneTemporary

D4480.diff

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

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)

Event Timeline