Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3520458
D4629.id14898.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
801 B
Referenced Files
None
Subscribers
None
D4629.id14898.diff
View Options
diff --git a/nix/overlay.nix b/nix/overlay.nix
--- a/nix/overlay.nix
+++ b/nix/overlay.nix
@@ -10,6 +10,20 @@
prev:
{
+ # Patch aws-sdk-cpp to automatically pick up header location
+ # when using `find_package(AWSSDK COMPONENTS [comps])`
+ aws-sdk-cpp = (prev.aws-sdk-cpp.overrideAttrs(oldAttrs:{
+ postPatch = oldAttrs.postPatch + ''
+ substituteInPlace cmake/AWSSDKConfig.cmake \
+ --replace 'C:/AWSSDK/''${AWSSDK_INSTALL_INCLUDEDIR}/aws/core' \
+ 'C:/AWSSDK/''${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
+ "${placeholder "dev"}/include/aws/core'
+ '';
+ })).override {
+ # avoid rebuildilng all 300+ apis
+ apis = [ "core" "s3" "dynamodb" ];
+ };
+
# add packages meant for just this repository
amqp-cpp = prev.callPackage ./amqp-cpp.nix { };
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 12:24 AM (5 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2697531
Default Alt Text
D4629.id14898.diff (801 B)
Attached To
Mode
D4629: [Nix] Patch aws-sdk-cpp to automatically find Aws.h
Attached
Detach File
Event Timeline
Log In to Comment