ghc881 - alex: try only applying relevant patch
This commit is contained in:
parent
6facf5b594
commit
5ea256fe5f
|
@ -159,14 +159,11 @@ self: super: {
|
||||||
vault = dontHaddock super.vault;
|
vault = dontHaddock super.vault;
|
||||||
|
|
||||||
# The test suite does not know how to find the 'alex' binary.
|
# The test suite does not know how to find the 'alex' binary.
|
||||||
alex = overrideCabal (overrideSrc super.alex {
|
# TODO dont fetch patch if https://github.com/simonmar/alex/issues/140 is resolved
|
||||||
src = pkgs.fetchFromGitHub {
|
alex = overrideCabal (appendPatch super.alex (pkgs.fetchpatch {
|
||||||
owner = "simonmar";
|
url = "https://github.com/simonmar/alex/commit/deaae6eddef5186bfd0e42e2c3ced39e26afa4d6.patch";
|
||||||
repo = "alex";
|
sha256 = "1v40gmnw4lqyk271wngdwz8whpfdhmza58srbkka8icwwwrck3l5";
|
||||||
rev = "11042dbcc45382c57216eecb1438b625e1cca350";
|
})) (drv: {
|
||||||
sha256 = "03ywnf0mh3fzb636kq8gjz0vs06qg9kqi3lsh0b24wsfw7pppysr";
|
|
||||||
};
|
|
||||||
}) (drv: {
|
|
||||||
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
|
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
|
||||||
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
|
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue