ghc881 - alex: simplify override
This commit is contained in:
parent
5ea256fe5f
commit
de051787bf
@ -158,13 +158,9 @@ self: super: {
|
|||||||
tls = self.tls_1_5_1;
|
tls = self.tls_1_5_1;
|
||||||
vault = dontHaddock super.vault;
|
vault = dontHaddock super.vault;
|
||||||
|
|
||||||
# The test suite does not know how to find the 'alex' binary.
|
|
||||||
# TODO dont fetch patch if https://github.com/simonmar/alex/issues/140 is resolved
|
# TODO dont fetch patch if https://github.com/simonmar/alex/issues/140 is resolved
|
||||||
alex = overrideCabal (appendPatch super.alex (pkgs.fetchpatch {
|
alex = appendPatch super.alex (pkgs.fetchpatch {
|
||||||
url = "https://github.com/simonmar/alex/commit/deaae6eddef5186bfd0e42e2c3ced39e26afa4d6.patch";
|
url = "https://github.com/simonmar/alex/commit/deaae6eddef5186bfd0e42e2c3ced39e26afa4d6.patch";
|
||||||
sha256 = "1v40gmnw4lqyk271wngdwz8whpfdhmza58srbkka8icwwwrck3l5";
|
sha256 = "1v40gmnw4lqyk271wngdwz8whpfdhmza58srbkka8icwwwrck3l5";
|
||||||
})) (drv: {
|
|
||||||
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
|
|
||||||
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user