diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-10-24 06:45:23 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-11-07 07:18:48 -0600 |
commit | abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc (patch) | |
tree | 449b1ab6a13bda378b9c2f3068a62e2063fdda26 | |
parent | d817095208c1fb66c269345f575caf24e8135adf (diff) | |
download | nixpkgs-abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc.tar nixpkgs-abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc.tar.gz nixpkgs-abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc.tar.bz2 nixpkgs-abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc.tar.lz nixpkgs-abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc.tar.xz nixpkgs-abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc.tar.zst nixpkgs-abb3479fcb70e768e6eaf13ba73ab0a5eeb3d5fc.zip |
qscintilla: fix qmake install paths
-rw-r--r-- | pkgs/development/libraries/qscintilla/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qscintilla/default.nix b/pkgs/development/libraries/qscintilla/default.nix index c2e6c3cb3b5..f5c5a667418 100644 --- a/pkgs/development/libraries/qscintilla/default.nix +++ b/pkgs/development/libraries/qscintilla/default.nix @@ -21,11 +21,23 @@ stdenv.mkDerivation rec { preConfigure = '' cd Qt4Qt5 + ${if withQt5 + then '' + sed -i -e "s,\$\$\\[QT_INSTALL_LIBS\\],$out/lib," \ + -e "s,\$\$\\[QT_INSTALL_HEADERS\\],$out/include/," \ + -e "s,\$\$\\[QT_INSTALL_TRANSLATIONS\\],$out/translations," \ + -e "s,\$\$\\[QT_HOST_DATA\\]/mkspecs,$out/mkspecs," \ + -e "s,\$\$\\[QT_INSTALL_DATA\\]/mkspecs,$out/mkspecs," \ + -e "s,\$\$\\[QT_INSTALL_DATA\\],$out/share," \ + qscintilla.pro + '' + else '' sed -i -e "s,\$\$\\[QT_INSTALL_LIBS\\],$out/lib," \ -e "s,\$\$\\[QT_INSTALL_HEADERS\\],$out/include/," \ -e "s,\$\$\\[QT_INSTALL_TRANSLATIONS\\],$out/share/qt/translations," \ -e "s,\$\$\\[QT_INSTALL_DATA\\],$out/share/qt," \ qscintilla.pro + ''} ''; meta = with stdenv.lib; { |