Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3345063
D4764.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
535 B
Referenced Files
None
Subscribers
None
D4764.diff
View Options
diff --git a/nix/amqp-cpp.nix b/nix/amqp-cpp.nix
--- a/nix/amqp-cpp.nix
+++ b/nix/amqp-cpp.nix
@@ -21,14 +21,13 @@
cmake
];
- buildInputs = lib.optionals stdenv.isLinux [
- # needed for linux's tcp extension
+ buildInputs = [
openssl
];
- cmakeFlags = lib.optionals (stdenv.isLinux || stdenv.isDarwin) [
+ cmakeFlags = [
"-DAMQP-CPP_BUILD_SHARED=ON"
- ] ++ lib.optionals stdenv.isLinux [
+ # Darwin is untested, which is why upstream uses linux in flag name
"-DAMQP-CPP_LINUX_TCP=ON"
];
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 5:12 AM (18 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569062
Default Alt Text
D4764.diff (535 B)
Attached To
Mode
D4764: [Nix] Build amqp-cpp with tcp extension on mac
Attached
Detach File
Event Timeline
Log In to Comment