@@ -158,13 +158,9 @@ self: super: {
158158 tls = self.tls_1_5_1;
159159 vault = dontHaddock super.vault;
160160
161− # The test suite does not know how to find the 'alex' binary.
162161 # TODO dont fetch patch if https://github.com/simonmar/alex/issues/140 is resolved
163− alex = overrideCabal (appendPatch super.alex (pkgs.fetchpatch {
162+ alex = appendPatch super.alex (pkgs.fetchpatch {
164163 url = "https://github.com/simonmar/alex/commit/deaae6eddef5186bfd0e42e2c3ced39e26afa4d6.patch";
165164 sha256 = "1v40gmnw4lqyk271wngdwz8whpfdhmza58srbkka8icwwwrck3l5";
166− })) (drv: {
167− testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
168− preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
169165 });
170166}