git.iko.soy/typeable/nixpkgs
on master help sign in
ghcjs: make it easier to override shims and ghcjs-boot
commitd1360231d1a963f1e01c2f43fb542b8d0098a6df authorDavid Waern <david.waern@gmail.com> dateFri 16 Oct 2015, 21:58 (11 years ago) parent620063a
3 files changed+19−15
pkgs/development/compilers/ghcjs/default.nix+5−15 pkgs/development/compilers/ghcjs/ghcjs-boot.nix+7 pkgs/development/compilers/ghcjs/shims.nix+7
pkgs/development/compilers/ghcjs/default.nix+5−15
@@ -36,22 +36,12 @@
3636, haddock, hspec, xhtml, primitive, cacert, pkgs
3737, coreutils
3838, libiconv
39+
40+, ghcjsBoot ? import ./ghcjs-boot.nix { inherit fetchgit; }
41+, shims ? import ./shims.nix { inherit fetchFromGitHub; }
3942}:
40−let
41− version = "0.1.0";
42− ghcjsBoot = fetchgit {
43− url = "git://github.com/ghcjs/ghcjs-boot.git";
44− rev = "39cd58e12f02fa99f493387ba4c3708819a72294";
45− sha256 = "0s7hvg60piklrg9ypa7r44l4qzvpinrgsaffak6fr7gd3k08wn9d";
46− fetchSubmodules = true;
47− };
48− shims = fetchFromGitHub {
49− owner = "ghcjs";
50− repo = "shims";
51− rev = "f17d10cf47450fe4e00433e988db0bddddb35cc0";
52− sha256 = "1kgnkkz1khzkmb0dm0ssp8l17iy9d9n9phszcj6vg9vi7v9y7l05";
53− };
54−in mkDerivation (rec {
43+let version = "0.1.0"; in
44+mkDerivation (rec {
5545 pname = "ghcjs";
5646 inherit version;
5747 src = fetchFromGitHub {
pkgs/development/compilers/ghcjs/ghcjs-boot.nixnew file+7
@@ -0,0 +1,7 @@
1+{ fetchgit }:
2+fetchgit {
3+ url = git://github.com/ghcjs/ghcjs-boot.git;
4+ rev = "39cd58e12f02fa99f493387ba4c3708819a72294";
5+ sha256 = "0s7hvg60piklrg9ypa7r44l4qzvpinrgsaffak6fr7gd3k08wn9d";
6+ fetchSubmodules = true;
7+}
pkgs/development/compilers/ghcjs/shims.nixnew file+7
@@ -0,0 +1,7 @@
1+{ fetchFromGitHub }:
2+fetchFromGitHub {
3+ owner = "ghcjs";
4+ repo = "shims";
5+ rev = "f17d10cf47450fe4e00433e988db0bddddb35cc0";
6+ sha256 = "1kgnkkz1khzkmb0dm0ssp8l17iy9d9n9phszcj6vg9vi7v9y7l05";
7+}