mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 15:08:18 +00:00
supercollider: use bash from nixpkgs for popen
This commit is contained in:
parent
4c035af93b
commit
6d9c572be2
@ -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