mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
ultrastar-creator: remove with statements
This commit is contained in:
parent
6e44d53415
commit
85878e1127
|
@ -17,15 +17,15 @@ mkDerivation {
|
|||
sha256 = "1rzz04l7s7pxj74xam0cxlq569lfpgig35kpbsplq531d4007pc9";
|
||||
};
|
||||
|
||||
postPatch = with lib; ''
|
||||
postPatch = ''
|
||||
# we don’t 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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue