Page MenuHomePhabricator

D5128.id16644.diff
No OneTemporary

D5128.id16644.diff

diff --git a/nix/dev-shell.nix b/nix/dev-shell.nix
--- a/nix/dev-shell.nix
+++ b/nix/dev-shell.nix
@@ -6,6 +6,7 @@
, aws-sdk-cpp
, better-prompt
, boost
+, c-ares_cmake-config
, cargo
, cmake
, cmake-format
@@ -65,6 +66,7 @@
# Tunnelbroker + CMake
amqp-cpp
+ c-ares_cmake-config
cryptopp
cmake
cmake-format # linting
diff --git a/nix/overlay.nix b/nix/overlay.nix
--- a/nix/overlay.nix
+++ b/nix/overlay.nix
@@ -43,6 +43,12 @@
better-prompt = prev.callPackage ./better-prompt.nix { };
+ # c-ares is used to bootstrap curl, so cmake is not available in the default
+ # build
+ c-ares_cmake-config = prev.c-ares.overrideAttrs(o: {
+ nativeBuildInputs = (o.nativeBuildInputs or []) ++ [ prev.cmake ];
+ });
+
protobuf_3_15_cmake = prev.callPackage ./protobuf_3_15.nix { };
devShell = final.callPackage ./dev-shell.nix { };

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 10:49 AM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575072
Default Alt Text
D5128.id16644.diff (879 B)

Event Timeline