Page MenuHomePhabricator

D4764.diff
No OneTemporary

D4764.diff

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

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)

Event Timeline