Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3339244
D4602.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
495 B
Referenced Files
None
Subscribers
None
D4602.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
@@ -26,6 +26,7 @@
, watchman
, rustfmt
, yarn
+, zlib
}:
mkShell {
@@ -94,6 +95,11 @@
export PATH=/usr/bin:$PATH
fi
+ if [[ -f /etc/NIXOS ]]; then
+ # allow for impurely downloaded Android NDK tools to be used on NixOS
+ export LD_LIBRARY_PATH=${lib.makeLibraryPath [ stdenv.cc.cc.lib zlib ]}
+ fi
+
echo "Welcome to Comm dev environment! :)"
'';
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 7:20 PM (18 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2564353
Default Alt Text
D4602.diff (495 B)
Attached To
Mode
D4602: [NixOS] Allow for usage of Android NDK binaries
Attached
Detach File
Event Timeline
Log In to Comment