ultrastar-creator: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 14:17:33 -07:00
parent 6e44d53415
commit 85878e1127
No known key found for this signature in database

View File

@ -17,15 +17,15 @@ mkDerivation {
sha256 = "1rzz04l7s7pxj74xam0cxlq569lfpgig35kpbsplq531d4007pc9";
};
postPatch = with lib; ''
postPatch = ''
# we dont want prebuild binaries checked into version control!
rm -rf lib include
sed -e "s|DESTDIR =.*$|DESTDIR = $out/bin|" \
-e 's|-L".*unix"||' \
-e "/QMAKE_POST_LINK/d" \
-e "s|../include/bass|${getLib libbass}/include|g" \
-e "s|../include/bass_fx|${getLib libbass_fx}/include|g" \
-e "s|../include/taglib|${getLib taglib}/include|g" \
-e "s|../include/bass|${lib.getLib libbass}/include|g" \
-e "s|../include/bass_fx|${lib.getLib libbass_fx}/include|g" \
-e "s|../include/taglib|${lib.getLib taglib}/include|g" \
-i src/UltraStar-Creator.pro
'';