3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #10423 from waern/ghcjs-parameterise

ghcjs: make it easier to override shims and ghcjs-boot
This commit is contained in:
Rickard Nilsson 2015-10-16 22:20:28 +02:00
commit 38fa633b3a
3 changed files with 19 additions and 15 deletions

View file

@ -36,22 +36,12 @@
, haddock, hspec, xhtml, primitive, cacert, pkgs
, coreutils
, libiconv
, ghcjsBoot ? import ./ghcjs-boot.nix { inherit fetchgit; }
, shims ? import ./shims.nix { inherit fetchFromGitHub; }
}:
let
version = "0.1.0";
ghcjsBoot = fetchgit {
url = "git://github.com/ghcjs/ghcjs-boot.git";
rev = "39cd58e12f02fa99f493387ba4c3708819a72294";
sha256 = "0s7hvg60piklrg9ypa7r44l4qzvpinrgsaffak6fr7gd3k08wn9d";
fetchSubmodules = true;
};
shims = fetchFromGitHub {
owner = "ghcjs";
repo = "shims";
rev = "f17d10cf47450fe4e00433e988db0bddddb35cc0";
sha256 = "1kgnkkz1khzkmb0dm0ssp8l17iy9d9n9phszcj6vg9vi7v9y7l05";
};
in mkDerivation (rec {
let version = "0.1.0"; in
mkDerivation (rec {
pname = "ghcjs";
inherit version;
src = fetchFromGitHub {

View file

@ -0,0 +1,7 @@
{ fetchgit }:
fetchgit {
url = git://github.com/ghcjs/ghcjs-boot.git;
rev = "39cd58e12f02fa99f493387ba4c3708819a72294";
sha256 = "0s7hvg60piklrg9ypa7r44l4qzvpinrgsaffak6fr7gd3k08wn9d";
fetchSubmodules = true;
}

View file

@ -0,0 +1,7 @@
{ fetchFromGitHub }:
fetchFromGitHub {
owner = "ghcjs";
repo = "shims";
rev = "f17d10cf47450fe4e00433e988db0bddddb35cc0";
sha256 = "1kgnkkz1khzkmb0dm0ssp8l17iy9d9n9phszcj6vg9vi7v9y7l05";
}