Skip to content

Commit 769e14a

Browse files
committedMay 19, 2017
multi-ghc-travis: update to latest git version and install both scripts
We're using the names 'make-travis-yml' and 'make-travis-yml-2' now, which feels more in-line'ish with the Cabal file hvr is distributing.
1 parent 2f22bbe commit 769e14a

File tree

1 file changed

+6
-9
lines changed
  • pkgs/development/tools/haskell/multi-ghc-travis

1 file changed

+6
-9
lines changed
 

‎pkgs/development/tools/haskell/multi-ghc-travis/default.nix

+6-9
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,27 @@
22

33
stdenv.mkDerivation rec {
44
name = "multi-ghc-travis-${version}";
5-
version = "git-2016-10-23";
5+
version = "git-2017-05-18";
66

77
buildInputs = [ ghc ];
88

99
src = fetchFromGitHub {
1010
owner = "hvr";
1111
repo = "multi-ghc-travis";
12-
rev = "03dd35f3801d6af4224906d45e982a748de9960e";
13-
sha256 = "1s08n8diis22cafych66zihdnd5q3dkv8m6i3a2s5g5f1phsk3mi";
12+
rev = "3e1b3847583020f0e83c97fcf4bcfb7c90b78259";
13+
sha256 = "0hnwp9gsv2rnkxqiw4cg1vdi7wccajx0i9ryhw4lfr8nhkizbsww";
1414
};
1515

16-
patchPhase = ''
17-
substituteInPlace make_travis_yml.hs --replace "make_travis_yml.hs" "multi-ghc-travis"
18-
'';
19-
2016
installPhase = ''
2117
mkdir -p $out/bin
22-
ghc -O --make make_travis_yml_2.hs -o $out/bin/multi-ghc-travis
18+
ghc -O --make make_travis_yml.hs -o $out/bin/make-travis-yml
19+
ghc -O --make make_travis_yml_2.hs -o $out/bin/make-travis-yml-2
2320
'';
2421

2522
meta = with stdenv.lib; {
2623
description = "Generate .travis.yml for multiple ghc versions";
2724
homepage = "https://github.com/hvr/multi-ghc-travis";
28-
license = licenses.free;
25+
license = licenses.bsd3;
2926
platforms = platforms.all;
3027
maintainers = with maintainers; [ jb55 ];
3128
};

0 commit comments

Comments
 (0)
Please sign in to comment.