Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aws-sdk-cpp patch to work with aws-sdk-cpp on 18.09+ #2485

Closed
wants to merge 1 commit into from

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Oct 26, 2018

Current patch works with 18.03, not sure if this does--
it's a simple rebase as I recall.

I've started pinning aws-sdk-cpp to a specific version
to ensure the patch applies (and nix can be built),
but I didn't put much thought into it beyond getting
things to work :).

url = https://github.com/edolstra/aws-sdk-cpp/commit/3e07e1f1aae41b4c8b340735ff9e8c735f0c063f.patch;
sha256 = "1pij0v449p166f9l29x7ppzk8j7g9k9mp15ilh5qxp29c7fnvxy2";
}) ];
patches = args.patches or [] ++ [ ./transfermanager-content-encoding.patch ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need (arg.patches or []) ++ ... 😭

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently not! Seems to work as expected poking at it in nix repl:

nix-repl> a = { x = [ "bar" ]; }

nix-repl> a.x or [] ++ [ "foo" ]
[ "bar" "foo" ]

nix-repl> a = { y = [ "bar" ]; }

nix-repl> a.x or [] ++ [ "foo" ]
[ "foo" ]

@edolstra
Copy link
Member

edolstra commented Nov 1, 2018

I've dropped the patch instead since we don't need it anymore (6323b07).

@edolstra edolstra closed this Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants