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
This commit is contained in:
parent
ca7391daf2
commit
6960a96a0c
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ makeWrapper jre ];
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -vr * $out
|
||||
|
Loading…
Reference in New Issue
Block a user