supercollider: use bash from nixpkgs for popen

This commit is contained in:
Isidor Zeuner 2023-11-09 23:35:00 +01:00
parent 4c035af93b
commit 6d9c572be2

View File

@ -1,4 +1,4 @@
{ lib, stdenv, mkDerivation, fetchurl, cmake
{ lib, stdenv, mkDerivation, fetchurl, cmake, runtimeShell
, pkg-config, alsa-lib, libjack2, libsndfile, fftw
, curl, gcc, libXt, qtbase, qttools, qtwebengine
, readline, qtwebsockets, useSCEL ? false, emacs
@ -20,6 +20,10 @@ mkDerivation rec {
./supercollider-3.12.0-env-dirs.patch
];
postPatch = ''
substituteInPlace common/sc_popen.cpp --replace '/bin/sh' '${runtimeShell}'
'';
strictDeps = true;
nativeBuildInputs = [ cmake pkg-config qttools ];