ghcjs: update revisions
This commit is contained in:
parent
dcee26642c
commit
83d58831bc
@ -17,21 +17,21 @@ let
|
|||||||
libDir = "share/ghcjs/${pkgs.stdenv.system}-${version}-${ghc.ghc.version}/ghcjs";
|
libDir = "share/ghcjs/${pkgs.stdenv.system}-${version}-${ghc.ghc.version}/ghcjs";
|
||||||
ghcjsBoot = fetchgit {
|
ghcjsBoot = fetchgit {
|
||||||
url = git://github.com/ghcjs/ghcjs-boot.git;
|
url = git://github.com/ghcjs/ghcjs-boot.git;
|
||||||
rev = "28f328ae5acb7427483ee1aaca66a4ed2df38472";
|
rev = "5c7a71472d5a797e895914d3b82cea447a058793";
|
||||||
sha256 = "107sqpadbjqxs3ym23qbp141ihra0a8ijaar94dbpa69g8b0xyyl"; # no .git
|
sha256 = "0dp97bgbnlr3sd9yfnk27p6dfv46fi26sn6y6qv1wxs5i29kmjav";
|
||||||
};
|
};
|
||||||
shims = fetchgit {
|
shims = fetchgit {
|
||||||
url = git://github.com/ghcjs/shims.git;
|
url = git://github.com/ghcjs/shims.git;
|
||||||
rev = "5e11d33cb74f8522efca0ace8365c0dc994b10f6";
|
rev = "7e15b992b538298c0da1de73e202d950a279cbfb";
|
||||||
sha256 = "13i78wd064v0nvvx6js5wqw6s01hhf1s7z03c4465xp64a817gk4";
|
sha256 = "0ck7qwizrjxh9mjfqcaw083sjlwhd1kvgvdcp3plzh7g2kd1lmzn";
|
||||||
};
|
};
|
||||||
in cabal.mkDerivation (self: rec {
|
in cabal.mkDerivation (self: rec {
|
||||||
pname = "ghcjs";
|
pname = "ghcjs";
|
||||||
inherit version;
|
inherit version;
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = git://github.com/ghcjs/ghcjs.git;
|
url = git://github.com/ghcjs/ghcjs.git;
|
||||||
rev = "fa0cc146b2fbdac28136fdca621e95930e2fd035";
|
rev = "312a040d579133b4e251ac375e5f94e506c1a981";
|
||||||
sha256 = "1mvs4x0x1cv11m32n5kjil3q1jxszj6capshvgz3a7mzdm5cdqp8";
|
sha256 = "0c3bjaz2wwi8lxmxp9bajyhcs97aazgzfgm1fc8mggk94nr4fhrk";
|
||||||
};
|
};
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
diff --git a/src-bin/Boot.hs b/src-bin/Boot.hs
|
diff --git a/src-bin/Boot.hs b/src-bin/Boot.hs
|
||||||
index d2c1fb3..15bf815 100644
|
index 988955b..a55f07b 100644
|
||||||
--- a/src-bin/Boot.hs
|
--- a/src-bin/Boot.hs
|
||||||
+++ b/src-bin/Boot.hs
|
+++ b/src-bin/Boot.hs
|
||||||
@@ -512,9 +512,7 @@ initPackageDB :: B ()
|
@@ -512,9 +512,7 @@ initPackageDB :: B ()
|
||||||
@ -46,16 +46,7 @@ index d2c1fb3..15bf815 100644
|
|||||||
mapM_ patchPackage =<< allPackages
|
mapM_ patchPackage =<< allPackages
|
||||||
preparePrimops
|
preparePrimops
|
||||||
buildGenPrim
|
buildGenPrim
|
||||||
@@ -672,7 +663,7 @@ patchPackage pkg
|
@@ -1086,7 +1077,9 @@ cabalInstallFlags parmakeGhcjs = do
|
||||||
p' <- absPath p
|
|
||||||
cd (fromText pkg')
|
|
||||||
when isWindows (git_ ["config", "core.filemode", "false"])
|
|
||||||
- git_ ["apply", "-3", toTextI p']
|
|
||||||
+ git_ ["apply", toTextI p']
|
|
||||||
in sub $ cond applyPatch (msg info $ "no patch for package " <> pkgName <> " found") =<< test_f p
|
|
||||||
| otherwise = return ()
|
|
||||||
|
|
||||||
@@ -1082,7 +1073,9 @@ cabalInstallFlags parmakeGhcjs = do
|
|
||||||
, "--builddir", "dist"
|
, "--builddir", "dist"
|
||||||
, "--with-compiler", ghcjs ^. pgmLocText
|
, "--with-compiler", ghcjs ^. pgmLocText
|
||||||
, "--with-hc-pkg", ghcjsPkg ^. pgmLocText
|
, "--with-hc-pkg", ghcjsPkg ^. pgmLocText
|
||||||
|
Loading…
x
Reference in New Issue
Block a user