diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-10-01 19:41:36 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-10-01 19:42:07 +0200 |
commit | 1383c08f2c086cb0b90c8624ebab4ca1182e3384 (patch) | |
tree | cce12f1295915db0a6861f148715764ad64ce0c9 /pkgs/development/compilers/ghcjs/7.10/default.nix | |
parent | 9c4b11e9a060de2175aef4d36881f97812ab17fe (diff) | |
parent | 83fd9785f65b8fd4cbaa146270f90b2a0d74b5f3 (diff) | |
download | nixlib-1383c08f2c086cb0b90c8624ebab4ca1182e3384.tar nixlib-1383c08f2c086cb0b90c8624ebab4ca1182e3384.tar.gz nixlib-1383c08f2c086cb0b90c8624ebab4ca1182e3384.tar.bz2 nixlib-1383c08f2c086cb0b90c8624ebab4ca1182e3384.tar.lz nixlib-1383c08f2c086cb0b90c8624ebab4ca1182e3384.tar.xz nixlib-1383c08f2c086cb0b90c8624ebab4ca1182e3384.tar.zst nixlib-1383c08f2c086cb0b90c8624ebab4ca1182e3384.zip |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/compilers/ghcjs/7.10/default.nix')
-rw-r--r-- | pkgs/development/compilers/ghcjs/7.10/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghcjs/7.10/default.nix b/pkgs/development/compilers/ghcjs/7.10/default.nix new file mode 100644 index 000000000000..f18a094aa3cf --- /dev/null +++ b/pkgs/development/compilers/ghcjs/7.10/default.nix @@ -0,0 +1,50 @@ +{ fetchgit, fetchFromGitHub, bootPkgs, cabal-install }: + +bootPkgs.callPackage ../base.nix { + version = "0.2.0"; + + inherit bootPkgs cabal-install; + + ghcjsSrc = fetchFromGitHub { + owner = "ghcjs"; + repo = "ghcjs"; + rev = "689c7753f50353dd05606ed79c51cd5a94d3922a"; + sha256 = "076020a9gjv8ldj5ckm43sbzq9s6c5xj6lpd8v28ybpiama3m6b4"; + }; + ghcjsBootSrc = fetchgit { + url = git://github.com/ghcjs/ghcjs-boot.git; + rev = "8c549931da27ba9e607f77195208ec156c840c8a"; + sha256 = "0yg9bnabja39qysh9pg1335qbvbc0r2mdw6cky94p7kavacndfdv"; + fetchSubmodules = true; + }; + + shims = import ./shims.nix { inherit fetchFromGitHub; }; + stage1Packages = [ + "array" + "base" + "binary" + "bytestring" + "containers" + "deepseq" + "directory" + "filepath" + "ghc-boot" + "ghc-boot-th" + "ghc-prim" + "ghci" + "ghcjs-prim" + "ghcjs-th" + "integer-gmp" + "pretty" + "primitive" + "process" + "rts" + "template-haskell" + "time" + "transformers" + "unix" + ]; + stage2 = import ./stage2.nix; + + patches = [ ./boot.patch ]; +} |