Skip to content

Commit

Permalink
Import proto3-suite proto3-wire override from hskgs
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanCacqueray committed Aug 6, 2023
1 parent 8216174 commit 6b222ae
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@ let
version = "0.19.1.0";
sha256 = "sha256-QEN1wOLLUEsDKAbgz8ex0wfK/duNytvRYclwkBj/1G0=";
};

# relax bound for doctest, ghc-prim, primitive, template-haskell, text and transformers
proto3-wire = pkgs.haskell.lib.doJailbreak hpPrev.proto3-wire;
# proto3-suite needs HEAD for swagger fix
proto3-suite = let
src = pkgs.fetchFromGitHub {
owner = "awakesecurity";
repo = "proto3-suite";
# https://github.com/awakesecurity/proto3-suite/pull/239
rev = "6b6245fe8526a1f9fd64472bf1218bd7fdea9960";
sha256 = "sha256-XYGeQJ2EXDnezI8NfhI+R3t1k31PKyfg9doOKp5FsCk=";
};
pkg = hpPrev.callCabal2nix "proto3-suite" src { };
in pkgs.lib.pipe pkg [
pkgs.haskell.lib.compose.doJailbreak
pkgs.haskell.lib.compose.dontCheck
(pkgs.haskell.lib.compose.disableCabalFlag "swagger")
(pkgs.haskell.lib.compose.disableCabalFlag "large-records")
];
};

# create the main package set without options
Expand Down

0 comments on commit 6b222ae

Please sign in to comment.