mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
haskell-alex: fix broken test suite
This commit is contained in:
parent
821592f5ba
commit
c111b4bf80
1 changed files with 6 additions and 0 deletions
|
@ -1017,4 +1017,10 @@ self: super: {
|
|||
# was fixed in spdx master (4288df6e4b7840eb94d825dcd446b42fef25ef56)
|
||||
spdx = dontCheck super.spdx;
|
||||
|
||||
# The test suite does not know how to find the 'alex' binary.
|
||||
alex = overrideCabal super.alex (drv: {
|
||||
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
|
||||
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue