Merge pull request #245933 from NixOS/backport-245228-to-staging-23.05

This commit is contained in:
Artturi
2023-07-28 22:50:42 +03:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, python3Packages, makeWrapper
, bash, libsamplerate, libsndfile, readline, eigen, celt
, libsamplerate, libsndfile, readline, eigen, celt
, wafHook
# Darwin Dependencies
, aften, AudioUnit, CoreAudio, libobjc, Accelerate
@@ -44,9 +44,8 @@ stdenv.mkDerivation (finalAttrs: {
aften AudioUnit CoreAudio Accelerate libobjc
];
prePatch = ''
substituteInPlace svnversion_regenerate.sh \
--replace /bin/bash ${bash}/bin/bash
postPatch = ''
patchShebangs --build svnversion_regenerate.sh
'';
dontAddWafCrossFlags = true;