Merge pull request #119245 from mayflower/qlcplus-fix-build

qlcplus: fix build
This commit is contained in:
Robin Gloster 2021-04-12 12:51:07 -05:00 committed by GitHub
commit a3e9412a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,8 @@ mkDerivation rec {
qmakeFlags = [ "INSTALLROOT=$(out)" ]; qmakeFlags = [ "INSTALLROOT=$(out)" ];
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
postPatch = '' postPatch = ''
patchShebangs . patchShebangs .
sed -i -e '/unix:!macx:INSTALLROOT += \/usr/d' \ sed -i -e '/unix:!macx:INSTALLROOT += \/usr/d' \