jbake: fix sandbox build (#46363)
See https://hydra.nixos.org/build/80999410
Without a sandbox the `checkPhase` breaks with the following error:
```
/nix/store/i6vl5lwlz5jbkg4r6p340dwmj6fha3xq-stdenv-linux/setup: bin/jbake: /usr/bin/env: bad interpreter: No such file or directory
jbake did not return correct version
```
Running `patchShebangs` before fixes the issue.
Addresses #45960
commit6960a96a0c7fa7dcfb3282ef352942a68515a3ad
authorMaximilian Bosch <maximilian@mbosch.me>
dateSat 8 Sep 2018, 15:20 (8 years ago)
parentca7391d
pkgs/development/tools/jbake/default.nix+2
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ makeWrapper jre ];
1313
14+ postPatch = "patchShebangs .";
15+
1416 installPhase = ''
1517 mkdir -p $out
1618 cp -vr * $out