virtualgl-lib: fix broken startup script (#49185)

Replace /bin/sh with bash in vglrun.
'exec' fails with /bin/sh
This commit is contained in:
markuskowa 2018-10-30 16:15:53 +01:00 committed by xeji
parent 88155c643a
commit efd3f8b57f

View File

@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postPatch = ''
# script calls exec, which fails with plain sh
substituteInPlace ./server/vglrun.in \
--replace '#!/bin/sh' '#!/usr/bin/env bash'
'';
meta = with stdenv.lib; {
homepage = http://www.virtualgl.org/;
description = "X11 GL rendering in a remote computer with full 3D hw acceleration";