Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3367061
D4764.id15396.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.id15396.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
Tue, Nov 26, 1:38 PM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2584911
Default Alt Text
D4764.id15396.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