haskell.packages.ghc881.alex: apply temporary patch for ghc881

This commit is contained in:
Luc Tielen
2019-09-18 19:36:58 +02:00
committed by Peter Simons
parent 8a0c213261
commit 9b2394519c
2 changed files with 28 additions and 1 deletions
@@ -1005,7 +1005,7 @@ self: super: {
spdx = dontCheck super.spdx;
# The test suite does not know how to find the 'alex' binary.
alex = overrideCabal super.alex (drv: {
alex = overrideCabal (appendPatch super.alex ./patches/alex-3.2.4-ghc8.8.x.patch) (drv: {
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
});