Created
October 29, 2019 15:25
-
-
Save disassembler/8effe75b0e20e6a6086c9885528e9755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/default.nix w/default.nix | |
index 47a81e6..a0b8b95 100644 | |
--- i/default.nix | |
+++ w/default.nix | |
@@ -15,6 +15,12 @@ with pkgs.lib; | |
with pkgs.haskell.lib; | |
let | |
+ haskellOverlay = hself: hsuper { | |
+ amazonka-s3 = pkgs.haskell.lib.appendPatch hsuper.amazonka-s3 ./iohk/amazonka-content-length.patch; | |
+ }; | |
+ haskellPackages = pkgs.haskellPackages.override (old: { | |
+ overrides = composeExtensions (old.overrides or (_: _: {})) haskellOverlay; | |
+ }); | |
# nixopsUnstable = /path/to/local/src | |
sources = commonLib.sources; | |
nixopsPacketSrc = sources.nixops-packet; | |
@@ -45,7 +51,7 @@ let | |
mantis-pkgs = commonLib.fetchProjectPackages "mantis" <mantis> ./goguen/pins mantisRevOverride args; | |
cardano-node-pkgs = import (sources.cardano-node.revOverride cardanoNodeRevOverride) {}; | |
- iohk-ops = pkgs.haskell.lib.overrideCabal | |
+ iohk-ops = haskellPackages.lib.overrideCabal | |
(compiler.callPackage ./iohk/default.nix {}) | |
(drv: { | |
executableToolDepends = [ pkgs.makeWrapper ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment