3
0
Fork 0
forked from mirrors/nixpkgs

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

Replace /bin/sh with bash in vglrun.
'exec' fails with /bin/sh

(cherry picked from commit efd3f8b57f)
This commit is contained in:
markuskowa 2018-10-30 16:15:53 +01:00 committed by Uli Baum
parent 47ae5861de
commit c341f56928

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";