Page MenuHomePhabricator

D4764.id15396.diff
No OneTemporary

D4764.id15396.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
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)

Event Timeline