Merge pull request #25118 from dmjio/patch-1

HaLVM: Shebang fix for Hydra
This commit is contained in:
Domen Kožar 2017-04-22 20:13:24 +02:00 committed by GitHub
commit e30b5c198a

View File

@ -32,7 +32,10 @@ stdenv.mkDerivation rec {
patchShebangs . patchShebangs .
''; '';
hardeningDisable = ["all"]; hardeningDisable = ["all"];
postInstall = "$out/bin/halvm-ghc-pkg recache"; postInstall = ''
patchShebangs $out/bin
$out/bin/halvm-ghc-pkg recache
'';
passthru = { passthru = {
inherit bootPkgs; inherit bootPkgs;
cross.config = "halvm"; cross.config = "halvm";
@ -45,6 +48,5 @@ stdenv.mkDerivation rec {
description = "The Haskell Lightweight Virtual Machine (HaLVM): GHC running on Xen"; description = "The Haskell Lightweight Virtual Machine (HaLVM): GHC running on Xen";
maintainers = with stdenv.lib.maintainers; [ dmjio ]; maintainers = with stdenv.lib.maintainers; [ dmjio ];
inherit (bootPkgs.ghc.meta) license platforms; inherit (bootPkgs.ghc.meta) license platforms;
broken = true; # http://hydra.nixos.org/build/51814615
}; };
} }