From a3119bd35dbaad51b11abcae5cc4e83fb510ca69 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 1 Mar 2016 00:19:27 +0000 Subject: bats: fixes installation The build was failing with: /...-stdenv/setup: ./install.sh: /usr/bin/env: bad interpreter: No such file or directory See https://hydra.nixos.org/build/32353411/log --- pkgs/development/interpreters/bats/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/interpreters') diff --git a/pkgs/development/interpreters/bats/default.nix b/pkgs/development/interpreters/bats/default.nix index 4eb86460be9a..bf262d4f050a 100644 --- a/pkgs/development/interpreters/bats/default.nix +++ b/pkgs/development/interpreters/bats/default.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "05xpvfm0xky1532i3hd2l3wznxzh99bv2hxgykwdpxh18h6jr6jm"; }; + patchPhase = "patchShebangs ./install.sh"; + installPhase = "./install.sh $out"; meta = with stdenv.lib; { -- cgit 1.4.1