Bradley Saul
Bradley Saul
@mrBliss thanks for sharing your solution!
I see underscores in record field names in: * `IdentityDocument` in `Amazonka.EC2.Metadata` * several records in `Amazonka.Types` * `Waiter` in `Amazonka.Waiter` Are these the ones to address?
Opened up #778 to start work towards this.
I *think* the re-export starts here in `amazonka-core`'s [`Amazonka.Data.JSON`](https://github.com/brendanhay/amazonka/blob/4be74644af107d67bc19230826b64595095384b8/lib/amazonka-core/src/Amazonka/Data/JSON.hs#L11), which is then reexported by [`Amazonka.Data`](https://github.com/brendanhay/amazonka/blob/main/lib/amazonka-core/src/Amazonka/Data.hs), which is reexported by [`Amazonka.Core`](https://github.com/brendanhay/amazonka/blob/main/lib/amazonka-core/src/Amazonka/Core.hs#L13), which is then reexported by the main [`Amazonka` module](https://github.com/brendanhay/amazonka/blob/main/lib/amazonka/src/Amazonka.hs#L137) in...
FWIW, if I comment out the reexport of `Amazonka.Core` in the main`Amazonka.hs` module, `cabal build amazonka` runs successfully for me locally. What should get reexported from core in the user-facing...
> Do service bindings build okay if you do that? Testing that `amazonka-ec2` still built probably be a good indicative case. I'd test something big like EC2 and something JSON-using...
Ran `cabal clean` and nearly succeeded: ``` [1229 of 1274] Compiling Amazonka.EC2.CancelConversionTask ( gen/Amazonka/EC2/CancelConversionTask.hs, /Users/bradley.saul/Documents/novisci/software/amazonka/amazonka/dist-newstyle/build/aarch64-osx/ghc-8.10.7/amazonka-ec2-2.0/build/Amazonka/EC2/CancelConversionTask.o, /Users/bradley.saul/Documents/novisci/software/amazonka/amazonka/dist-newstyle/build/aarch64-osx/ghc-8.10.7/amazonka-ec2-2.0/build/Amazonka/EC2/CancelConversionTask.dyn_o ) ghc: could not execute: opt ``` I'm not familiar enough with bazel to...
> What hardware are you running on? Indeed, it is an M1 mac. I have `llvm` 12.0.1 installed. Trying `nix-shell` (there's alot to install/download). > There are some instructions for...
I wasn't able to get the `bazel` build running, but in a nix-shell `cabal build amazonka-ec2` succeeded.
> but in a nix-shell cabal build amazonka-ec2 succeeded. ditto for `cabal build amazonka-dynamodb`