Catch more hardcoded /usr in Surge

This commit is contained in:
EEva (JPotier) 2020-02-09 14:26:59 +02:00
parent 4d414a4d67
commit 3a818af000

View file

@ -49,6 +49,7 @@ in stdenv.mkDerivation {
patchPhase = ''
patchShebangs ./build-linux.sh
sed -i "s+/usr+$out+" build-linux.sh
sed -i "s+/usr+$out+" src/common/SurgeStorage.cpp
./build-linux.sh --help
'';
@ -58,6 +59,7 @@ in stdenv.mkDerivation {
# make -j surge-headless -C build
# premake5 --cc=gcc --os=linux gmake2
# make -j config=release_x64 surge-vst3 surge-lv2 surge-vst2
# These appear to be the only supported projects
# https://github.com/surge-synthesizer/surge/blob/master/azure-pipelines.yml#L29
./build-linux.sh build --project=lv2