Merge pull request #266546 from zeuner/supercollider-shell

supercollider: use bash from nixpkgs for popen
This commit is contained in:
Lily Foster 2023-11-11 12:48:02 -05:00 committed by GitHub
commit 1234b66590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 ];