Unverified Commit 1234b665 authored by Lily Foster's avatar Lily Foster Committed by GitHub
Browse files

Merge pull request #266546 from zeuner/supercollider-shell

supercollider: use bash from nixpkgs for popen
parents 529e5c2d 6d9c572b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ 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 ];