Skip to content

Commit

Permalink
haskellPackages.hnix: fix build for ghc-8.10 by adding repline
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki authored and peti committed Jul 31, 2020
1 parent aa66f3f commit 2dab571
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ self: super: {
});

# hnix 0.9.0 does not provide an executable for ghc < 8.10, so define completions here for now.
hnix = generateOptparseApplicativeCompletion "hnix" super.hnix;
hnix = generateOptparseApplicativeCompletion "hnix"
(overrideCabal super.hnix (drv: {
# executable is allowed for ghc >= 8.10 and needs repline
executableHaskellDepends = drv.executableToolDepends or [] ++ [ self.repline ];
}));

}

0 comments on commit 2dab571

Please sign in to comment.