HaLVM: Shebang fix for Hydra
On my local nixos machine, `useSandbox = true;` wasn't enabled. This exposed the fact that various scripts weren't shebang-patched. @cleverca22 has provided the fix. cc @peti @domenkozar @Ericson2314
This commit is contained in:
parent
5f9096a033
commit
bcd5865adf
@ -32,7 +32,10 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs .
|
||||
'';
|
||||
hardeningDisable = ["all"];
|
||||
postInstall = "$out/bin/halvm-ghc-pkg recache";
|
||||
postInstall = ''
|
||||
patchShebangs $out/bin
|
||||
$out/bin/halvm-ghc-pkg recache
|
||||
'';
|
||||
passthru = {
|
||||
inherit bootPkgs;
|
||||
cross.config = "halvm";
|
||||
@ -45,6 +48,5 @@ stdenv.mkDerivation rec {
|
||||
description = "The Haskell Lightweight Virtual Machine (HaLVM): GHC running on Xen";
|
||||
maintainers = with stdenv.lib.maintainers; [ dmjio ];
|
||||
inherit (bootPkgs.ghc.meta) license platforms;
|
||||
broken = true; # http://hydra.nixos.org/build/51814615
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user