mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Only patch alex for ghc881
This commit is contained in:
parent
b55447925d
commit
4ea67e42c4
@ -1005,7 +1005,7 @@ self: super: {
|
||||
spdx = dontCheck super.spdx;
|
||||
|
||||
# The test suite does not know how to find the 'alex' binary.
|
||||
alex = overrideCabal (appendPatch super.alex ./patches/alex-3.2.4-ghc8.8.x.patch) (drv: {
|
||||
alex = overrideCabal super.alex (drv: {
|
||||
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
|
||||
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
|
||||
});
|
||||
|
@ -161,4 +161,11 @@ self: super: {
|
||||
});
|
||||
tls = self.tls_1_5_1;
|
||||
vault = dontHaddock super.vault;
|
||||
|
||||
# The test suite does not know how to find the 'alex' binary.
|
||||
# TODO remove patch when alex gets a newer release than 3.2.4
|
||||
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"'';
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user