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
This commit is contained in:
zimbatm 2016-03-01 00:19:27 +00:00
parent 03d1e0fb8f
commit a3119bd35d

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "05xpvfm0xky1532i3hd2l3wznxzh99bv2hxgykwdpxh18h6jr6jm";
};
patchPhase = "patchShebangs ./install.sh";
installPhase = "./install.sh $out";
meta = with stdenv.lib; {