From bcd5865adf7e2096fdee3e3f365c5daf124827e5 Mon Sep 17 00:00:00 2001 From: David Johnson Date: Sat, 22 Apr 2017 10:33:01 -0700 Subject: [PATCH] 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 --- pkgs/development/compilers/halvm/2.4.0.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/halvm/2.4.0.nix b/pkgs/development/compilers/halvm/2.4.0.nix index 740752e15840..06627ce08625 100644 --- a/pkgs/development/compilers/halvm/2.4.0.nix +++ b/pkgs/development/compilers/halvm/2.4.0.nix @@ -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 }; }