git.iko.soy/typeable/nixpkgs
on master help sign in
ghc881 - alex: try only applying relevant patch
commit5ea256fe5fb038327f2c6593eed1d715d69ec4e7 authorLuc Tielen <luc.tielen@kabisa.nl> dateMon 16 Sep 2019, 23:52 (7 years ago) parent6facf5b
1 file changed+5−8
pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix+5−8
pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix+5−8
@@ -159,14 +159,11 @@ self: super: {
159159 vault = dontHaddock super.vault;
160160
161161 # The test suite does not know how to find the 'alex' binary.
162− alex = overrideCabal (overrideSrc super.alex {
163− src = pkgs.fetchFromGitHub {
164− owner = "simonmar";
165− repo = "alex";
166− rev = "11042dbcc45382c57216eecb1438b625e1cca350";
167− sha256 = "03ywnf0mh3fzb636kq8gjz0vs06qg9kqi3lsh0b24wsfw7pppysr";
168− };
169− }) (drv: {
162+ # TODO dont fetch patch if https://github.com/simonmar/alex/issues/140 is resolved
163+ alex = overrideCabal (appendPatch super.alex (pkgs.fetchpatch {
164+ url = "https://github.com/simonmar/alex/commit/deaae6eddef5186bfd0e42e2c3ced39e26afa4d6.patch";
165+ sha256 = "1v40gmnw4lqyk271wngdwz8whpfdhmza58srbkka8icwwwrck3l5";
166+ })) (drv: {
170167 testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
171168 preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
172169 });