summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Johnson <djohnson.m@gmail.com>2017-04-22 10:33:01 -0700
committerGitHub <noreply@github.com>2017-04-22 10:33:01 -0700
commitbcd5865adf7e2096fdee3e3f365c5daf124827e5 (patch)
tree3c952c05abc42bfb554bd811a6ff1fc7a2ca12fb
parent5f9096a0332a09f2c61c4b3146b0b25715661ecd (diff)
downloadnixlib-bcd5865adf7e2096fdee3e3f365c5daf124827e5.tar
nixlib-bcd5865adf7e2096fdee3e3f365c5daf124827e5.tar.gz
nixlib-bcd5865adf7e2096fdee3e3f365c5daf124827e5.tar.bz2
nixlib-bcd5865adf7e2096fdee3e3f365c5daf124827e5.tar.lz
nixlib-bcd5865adf7e2096fdee3e3f365c5daf124827e5.tar.xz
nixlib-bcd5865adf7e2096fdee3e3f365c5daf124827e5.tar.zst
nixlib-bcd5865adf7e2096fdee3e3f365c5daf124827e5.zip
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
-rw-r--r--pkgs/development/compilers/halvm/2.4.0.nix6
1 files 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
   };
 }