Merge pull request #266546 from zeuner/supercollider-shell
supercollider: use bash from nixpkgs for popen
This commit is contained in:
commit
1234b66590
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user