yesod-bin patch : use stripLen instead of patchFlags

This commit is contained in:
Cray Elliott 2015-04-05 01:03:10 -07:00
parent 880e0950d8
commit 5c866dc5e9

View File

@ -139,11 +139,10 @@ self: super: {
url = "https://github.com/fpco/conduit-combinators/pull/16.patch"; url = "https://github.com/fpco/conduit-combinators/pull/16.patch";
sha256 = "0jpwpi3shdn5rms3lcr4srajbhhfp5dbwy7pl23c9kmlil3d9mk3"; sha256 = "0jpwpi3shdn5rms3lcr4srajbhhfp5dbwy7pl23c9kmlil3d9mk3";
}); });
yesod-bin = overrideCabal (appendPatch super.yesod-bin (pkgs.fetchpatch { yesod-bin = appendPatch super.yesod-bin (pkgs.fetchpatch {
url = "https://github.com/yesodweb/yesod/pull/966.patch"; url = "https://github.com/yesodweb/yesod/pull/966.patch";
sha256 = "0jxhj3ls0xsw81mmiiy3ln1yb910r6p87vkqpaw8xdczly4h98fc"; sha256 = "0mm4swyn7qh30hw7ya8ykz5qvsd4ni4vmipq364yqbsi9ysrc6nb";
})) (drv: { stripLen = 1;
patchFlags = "-p2";
}); });
ghcjs-prim = self.callPackage ({ mkDerivation, fetchgit, primitive }: mkDerivation { ghcjs-prim = self.callPackage ({ mkDerivation, fetchgit, primitive }: mkDerivation {