yesod-bin patch : use stripLen instead of patchFlags

+3 -4
+3 -4
pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
··· 139 139 url = "https://github.com/fpco/conduit-combinators/pull/16.patch"; 140 140 sha256 = "0jpwpi3shdn5rms3lcr4srajbhhfp5dbwy7pl23c9kmlil3d9mk3"; 141 141 }); 142 - yesod-bin = overrideCabal (appendPatch super.yesod-bin (pkgs.fetchpatch { 142 + yesod-bin = appendPatch super.yesod-bin (pkgs.fetchpatch { 143 143 url = "https://github.com/yesodweb/yesod/pull/966.patch"; 144 - sha256 = "0jxhj3ls0xsw81mmiiy3ln1yb910r6p87vkqpaw8xdczly4h98fc"; 145 - })) (drv: { 146 - patchFlags = "-p2"; 144 + sha256 = "0mm4swyn7qh30hw7ya8ykz5qvsd4ni4vmipq364yqbsi9ysrc6nb"; 145 + stripLen = 1; 147 146 }); 148 147 149 148 ghcjs-prim = self.callPackage ({ mkDerivation, fetchgit, primitive }: mkDerivation {