Skip to content

Instantly share code, notes, and snippets.

@piq9117
Created December 31, 2022 21:36
Show Gist options
  • Save piq9117/40e8afeb5f6bab60980011f580174b9f to your computer and use it in GitHub Desktop.
Save piq9117/40e8afeb5f6bab60980011f580174b9f to your computer and use it in GitHub Desktop.
self: super: rec {
overriddenHaskellPackages = super.haskellPackages.override rec {
overrides = haskellSelf: haskellSuper: rec {
launchdarkly-server-sdk = self.haskell.lib.unmarkBroken
(haskellSelf.callHackage "launchdarkly-server-sdk" "3.0.3" { });
http-client = haskellSelf.callCabal2nix "http-client" (builtins.fetchGit {
url = "https://github.com/snoyberg/http-client.git";
rev = "4c5c786bd437fd49092e5937c8685b5300913fa8";
ref = "http-client-0.5.14";
} + /http-client){};
amazonka-core = haskellSelf.callCabal2nix "amazonka-core" (builtins.fetchGit {
url = "https://github.com/scarf-sh/amazonka.git";
rev = "927c3d9916c447196b5cc80238caa7a1ee29003d";
ref = "alex/aeson-2";
} + /core) {};
amazonka = haskellSelf.callCabal2nix "amazonka" (builtins.fetchGit {
url = "https://github.com/scarf-sh/amazonka.git";
rev = "927c3d9916c447196b5cc80238caa7a1ee29003d";
ref = "alex/aeson-2";
} + /amazonka) {};
amazonka-s3 = haskellSelf.callCabal2nix "amazonka-s3" (builtins.fetchGit {
url = "https://github.com/scarf-sh/amazonka.git";
rev = "927c3d9916c447196b5cc80238caa7a1ee29003d";
ref = "alex/aeson-2";
} + /amazonka-s3) {};
amazonka-ses = haskellSelf.callCabal2nix "amazonka-ses" (builtins.fetchGit {
url = "https://github.com/scarf-sh/amazonka.git";
rev = "927c3d9916c447196b5cc80238caa7a1ee29003d";
ref = "alex/aeson-2";
} + /amazonka-ses) {};
amazonka-cloudwatch-logs = haskellSelf.callCabal2nix "amazonka-cloudwatch-logs" (builtins.fetchGit {
url = "https://github.com/scarf-sh/amazonka.git";
rev = "927c3d9916c447196b5cc80238caa7a1ee29003d";
ref = "alex/aeson-2";
} + /amazonka-cloudwatch-logs) {};
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment