qtbase: Check for wrapQtAppsHook in setupHook

This commit is contained in:
Thomas Tuegel 2021-01-12 05:50:23 -06:00
parent 67b7cffaec
commit 5590e365e4
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59
109 changed files with 225 additions and 8 deletions

View file

@ -15,13 +15,14 @@ which are not shared by other C++ software:
```{=docbook} ```{=docbook}
<programlisting> <programlisting>
{ stdenv, lib, qtbase }: <co xml:id='qt-default-nix-co-1' /> { stdenv, lib, qtbase, wrapQtAppsHook }: <co xml:id='qt-default-nix-co-1' />
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "myapp"; pname = "myapp";
version = "1.0"; version = "1.0";
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];
nativeBuildInputs = [ wrapQtAppsHook ]; <co xml:id'qt-default-nix-co-2' />
} }
</programlisting> </programlisting>
@ -33,6 +34,13 @@ stdenv.mkDerivation {
because the Qt versions of dependencies may not be coherent, causing build and runtime failures. because the Qt versions of dependencies may not be coherent, causing build and runtime failures.
</para> </para>
</callout> </callout>
<callout arearefs="qt-default-nix-co-2'>
<para>
All Qt packages must include <literal>wrapQtAppsHook</literal> in
<literal>nativeBuildInputs</literal>, or you must explicitly set
<literal>dontWrapQtApps</literal>.
</para>
</callout>
</calloutlist> </calloutlist>
``` ```
@ -50,7 +58,8 @@ stdenv.mkDerivation {
} }
``` ```
Add entries to `qtWrapperArgs` are to modify the wrappers created by `wrapQtAppsHook`: Add entries to `qtWrapperArgs` are to modify the wrappers created by
`wrapQtAppsHook`:
```nix ```nix
{ stdenv, wrapQtAppsHook }: { stdenv, wrapQtAppsHook }:
@ -65,7 +74,8 @@ stdenv.mkDerivation {
The entries are passed as arguments to [wrapProgram](#fun-wrapProgram). The entries are passed as arguments to [wrapProgram](#fun-wrapProgram).
Set `dontWrapQtApps` to stop applications from being wrapped automatically. Set `dontWrapQtApps` to stop applications from being wrapped automatically.
Wrap programs manually with `wrapQtApp`, using the syntax of [wrapProgram](#fun-wrapProgram): Wrap programs manually with `wrapQtApp`, using the syntax of
[wrapProgram](#fun-wrapProgram):
```nix ```nix
{ stdenv, lib, wrapQtAppsHook }: { stdenv, lib, wrapQtAppsHook }:

View file

@ -40,6 +40,8 @@ stdenv.mkDerivation rec {
"SHARE_DIR=${placeholder "out"}/share" "SHARE_DIR=${placeholder "out"}/share"
]; ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "CsoundQt is a frontend for Csound with editor, integrated help, widgets and other features"; description = "CsoundQt is a frontend for Csound with editor, integrated help, widgets and other features";
homepage = "https://csoundqt.github.io/"; homepage = "https://csoundqt.github.io/";

View file

@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
--replace "\$\$[QT_INSTALL_PREFIX]" "$out" --replace "\$\$[QT_INSTALL_PREFIX]" "$out"
''; '';
dontWrapQtApps = true;
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = with lib; {

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ alsaLib drumstick qtbase qtsvg ]; buildInputs = [ alsaLib drumstick qtbase qtsvg ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://kmetronome.sourceforge.io/"; homepage = "https://kmetronome.sourceforge.io/";
description = "ALSA MIDI metronome with Qt interface"; description = "ALSA MIDI metronome with Qt interface";

View file

@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
"-DENABLE_PULSEAUDIO=ON" "-DENABLE_PULSEAUDIO=ON"
]; ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Application for practicing playing musical scores and ear training"; description = "Application for practicing playing musical scores and ear training";
homepage = "https://nootka.sourceforge.io/"; homepage = "https://nootka.sourceforge.io/";

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
qtbase qtdeclarative qtquickcontrols2 qtbase qtdeclarative qtquickcontrols2
]; ];
dontWrapQtApps = true;
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_INCLUDE_PATH=${libjack2}/include/jack;${libpulseaudio.dev}/include/pulse" "-DCMAKE_INCLUDE_PATH=${libjack2}/include/jack;${libpulseaudio.dev}/include/pulse"
"-DENABLE_JACK=ON" "-DENABLE_JACK=ON"

View file

@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
dontUnpack = true; dontUnpack = true;
dontBuild = true; dontBuild = true;
dontStrip = true; dontStrip = true;
dontWrapQtApps = true;
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out

View file

@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
kwindowsystem kwindowsystem
]; ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Mpris2 Client for Plasma5"; description = "Mpris2 Client for Plasma5";
homepage = "https://github.com/audoban/PlayBar2"; homepage = "https://github.com/audoban/PlayBar2";

View file

@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/ahlstromcj/seq66"; homepage = "https://github.com/ahlstromcj/seq66";
description = "Loop based midi sequencer with Qt GUI derived from seq24 and sequencer64"; description = "Loop based midi sequencer with Qt GUI derived from seq24 and sequencer64";

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Allows to analyze samples of musical instruments, and to combine them (morphing) to construct hybrid sounds"; description = "Allows to analyze samples of musical instruments, and to combine them (morphing) to construct hybrid sounds";
homepage = "http://spectmorph.org"; homepage = "http://spectmorph.org";

View file

@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
meta = { meta = {
description = "Peer-to-peer electronic cash system (Classic client)"; description = "Peer-to-peer electronic cash system (Classic client)";
longDescription= '' longDescription= ''

View file

@ -101,6 +101,8 @@ stdenv.mkDerivation rec {
}) })
]; ];
dontWrapQtApps = true;
preConfigure = "NOCONFIGURE=1 ./autogen.sh"; preConfigure = "NOCONFIGURE=1 ./autogen.sh";
configureFlags = [ configureFlags = [

View file

@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
] ]
++ lib.optionals withQt [ "UI=qt" ] ++ lib.optionals withQt [ "UI=qt" ]
++ lib.optionals withGtk [ "UI=gtk" ]; ++ lib.optionals withGtk [ "UI=gtk" ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Folding text editor, designed to hierarchically structure any kind of text file and especially source code"; description = "Folding text editor, designed to hierarchically structure any kind of text file and especially source code";
homepage = "https://tibleiz.net/code-browser/"; homepage = "https://tibleiz.net/code-browser/";

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake extra-cmake-modules ]; nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ kdevelop-pg-qt threadweaver ktexteditor kdevelop-unwrapped ]; buildInputs = [ kdevelop-pg-qt threadweaver ktexteditor kdevelop-unwrapped ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
maintainers = [ maintainers.aanderse ]; maintainers = [ maintainers.aanderse ];
platforms = platforms.linux; platforms = platforms.linux;

View file

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake extra-cmake-modules ]; nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ]; buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
maintainers = [ maintainers.aanderse ]; maintainers = [ maintainers.aanderse ];
platforms = platforms.linux; platforms = platforms.linux;

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
maintainers = [ maintainers.ambrop72 ]; maintainers = [ maintainers.ambrop72 ];
platforms = platforms.linux; platforms = platforms.linux;

View file

@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
export QXMLEDIT_INST_DOC_DIR="$doc" export QXMLEDIT_INST_DOC_DIR="$doc"
''; '';
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Simple XML editor based on qt libraries" ; description = "Simple XML editor based on qt libraries" ;
homepage = "https://sourceforge.net/projects/qxmledit"; homepage = "https://sourceforge.net/projects/qxmledit";

View file

@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
doCheck = true; doCheck = true;
preCheck = '' preCheck = ''
patchShebangs testo patchShebangs testo

View file

@ -10,6 +10,8 @@ mkDerivation {
nativeBuildInputs = [ qmake qttools ]; nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtwebkit ]; buildInputs = [ qtwebkit ];
dontWrapQtApps = true;
postPatch = '' postPatch = ''
substituteInPlace mainwindow.cc \ substituteInPlace mainwindow.cc \
--replace "QApplication::applicationDirPath() + \"/" "\"" \ --replace "QApplication::applicationDirPath() + \"/" "\"" \

View file

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake extra-cmake-modules ]; nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ plasma-framework kwindowsystem plasma-pa ]; buildInputs = [ plasma-framework kwindowsystem plasma-pa ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "A fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)"; description = "A fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)";
homepage = "https://github.com/Zren/plasma-applet-volumewin7mixer"; homepage = "https://github.com/Zren/plasma-applet-volumewin7mixer";

View file

@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
]; ];
dontUseQmakeConfigure = true; dontUseQmakeConfigure = true;
dontWrapQtApps = true;
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated" ]; NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated" ];

View file

@ -35,6 +35,8 @@ stdenv.mkDerivation {
kwindowsystem kwindowsystem
]; ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "KDE Plasma 5 widget for controlling Redshift"; description = "KDE Plasma 5 widget for controlling Redshift";
homepage = "https://github.com/kotelnik/plasma-applet-redshift-control"; homepage = "https://github.com/kotelnik/plasma-applet-redshift-control";

View file

@ -52,6 +52,8 @@ let
buildInputs = [ qtbase qtlocation libXcomposite ]; buildInputs = [ qtbase qtlocation libXcomposite ];
dontWrapQtApps = true;
pluginsSubdir = "lib/qt-${qtbase.qtCompatVersion}/plugins"; pluginsSubdir = "lib/qt-${qtbase.qtCompatVersion}/plugins";
installPhase = '' installPhase = ''

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
preConfigure = '' preConfigure = ''
export QMAKEFEATURES=${libcommuni}/features export QMAKEFEATURES=${libcommuni}/features
''; '';

View file

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
runHook postConfigure runHook postConfigure
''; '';
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Rapidly extract unformatted, or unstandardized bibliographic references from email alerts, journal Web pages and PDF files"; description = "Rapidly extract unformatted, or unstandardized bibliographic references from email alerts, journal Web pages and PDF files";
homepage = "http://www.molspaces.com/d_cb2bib-overview.php"; homepage = "http://www.molspaces.com/d_cb2bib-overview.php";

View file

@ -218,6 +218,7 @@ let
passthru passthru
doCheck doCheck
dontWrapPythonPrograms dontWrapPythonPrograms
dontWrapQtApps
meta meta
; ;
cmakeFlags = shared.cmakeFlags cmakeFlags = shared.cmakeFlags
@ -284,6 +285,7 @@ stdenv.mkDerivation rec {
passthru passthru
doCheck doCheck
dontWrapPythonPrograms dontWrapPythonPrograms
dontWrapQtApps
meta meta
; ;
} }

View file

@ -110,6 +110,7 @@ rec {
}; };
# Wrapping is done with an external wrapper # Wrapping is done with an external wrapper
dontWrapPythonPrograms = true; dontWrapPythonPrograms = true;
dontWrapQtApps = true;
# Tests should succeed, but it's hard to get LD_LIBRARY_PATH right in order # Tests should succeed, but it's hard to get LD_LIBRARY_PATH right in order
# for it to happen. # for it to happen.
doCheck = false; doCheck = false;

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [libpulseaudio alsaLib pkg-config qt5.qtbase]; buildInputs = [libpulseaudio alsaLib pkg-config qt5.qtbase];
CFLAGS ="-lasound -lpulse-simple"; CFLAGS ="-lasound -lpulse-simple";
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "sound characters as Morse code on the soundcard or console speaker"; description = "sound characters as Morse code on the soundcard or console speaker";
longDescription = '' longDescription = ''

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libGLU libGL qt5.qtbase boost ]; buildInputs = [ libGLU libGL qt5.qtbase boost ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "A toolset for model-checking concurrent systems and protocols"; description = "A toolset for model-checking concurrent systems and protocols";
longDescription = '' longDescription = ''

View file

@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
dontBuild = true; dontBuild = true;
dontConfigure = true; dontConfigure = true;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "GUI application that allows to quickly and easily compare files and folders"; description = "GUI application that allows to quickly and easily compare files and folders";

View file

@ -25,6 +25,8 @@ stdenv.mkDerivation {
NIX_LDFLAGS = "-lsvn_fs-1"; NIX_LDFLAGS = "-lsvn_fs-1";
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/svn-all-fast-export/svn2git"; homepage = "https://github.com/svn-all-fast-export/svn2git";
description = "A fast-import based converter for an svn repo to git repos"; description = "A fast-import based converter for an svn repo to git repos";

View file

@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
"-DCMAKE_CXX_FLAGS=-I${obs-studio.src}/UI/obs-frontend-api" "-DCMAKE_CXX_FLAGS=-I${obs-studio.src}/UI/obs-frontend-api"
]; ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Network A/V plugin for OBS Studio"; description = "Network A/V plugin for OBS Studio";
homepage = "https://github.com/Palakis/obs-ndi"; homepage = "https://github.com/Palakis/obs-ndi";

View file

@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase obs-studio ]; buildInputs = [ qtbase obs-studio ];
dontWrapQtApps = true;
patches = [ patches = [
# Fixes the segfault when stopping the plugin # Fixes the segfault when stopping the plugin
(fetchpatch { (fetchpatch {

View file

@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
++ optional stdenv.isDarwin llvmPackages.openmp ++ optional stdenv.isDarwin llvmPackages.openmp
; ;
dontWrapQtApps = true;
LIBOPENSHOT_AUDIO_DIR = libopenshot-audio; LIBOPENSHOT_AUDIO_DIR = libopenshot-audio;
"UNITTEST++_INCLUDE_DIR" = "${unittest-cpp}/include/UnitTest++"; "UNITTEST++_INCLUDE_DIR" = "${unittest-cpp}/include/UnitTest++";

View file

@ -35,6 +35,8 @@ stdenv.mkDerivation {
dontDropIconThemeCache = true; dontDropIconThemeCache = true;
dontWrapQtApps = true;
postInstall = '' postInstall = ''
for theme in $out/share/icons/*; do for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme gtk-update-icon-cache $theme

View file

@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
++ optional (!stdenv.isDarwin) alsaLib ++ optional (!stdenv.isDarwin) alsaLib
++ optional useSCEL emacs; ++ optional useSCEL emacs;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Programming language for real time audio synthesis"; description = "Programming language for real time audio synthesis";
homepage = "https://supercollider.github.io"; homepage = "https://supercollider.github.io";

View file

@ -57,6 +57,8 @@ in stdenv.mkDerivation rec {
buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls openssl libgcrypt libgpgerror ]; buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls openssl libgcrypt libgpgerror ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "OS abstraction functions used by aqbanking and related tools"; description = "OS abstraction functions used by aqbanking and related tools";
homepage = "http://www2.aquamaniac.de/sites/download/packages.php?package=01&showall=1"; homepage = "http://www2.aquamaniac.de/sites/download/packages.php?package=01&showall=1";

View file

@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
++ (lib.optionals withQt4 [ qt4 ]) ++ (lib.optionals withQt4 [ qt4 ])
++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ])); ++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ]));
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "http://drobilla.net/software/suil"; homepage = "http://drobilla.net/software/suil";
description = "A lightweight C library for loading and wrapping LV2 plugin UIs"; description = "A lightweight C library for loading and wrapping LV2 plugin UIs";

View file

@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
qmake qmake
]; ];
dontWrapQtApps = true;
preConfigure = '' preConfigure = ''
sed -i 's/CONFIG += staticlib/CONFIG += shared/' dxflib.pro sed -i 's/CONFIG += staticlib/CONFIG += shared/' dxflib.pro
''; '';

View file

@ -23,6 +23,8 @@ mkDerivation rec {
# Silence noisy warning # Silence noisy warning
CXXFLAGS = "-Wno-deprecated-copy"; CXXFLAGS = "-Wno-deprecated-copy";
dontWrapQtApps = true;
cmakeFlags = [ cmakeFlags = [
# Detection script is broken # Detection script is broken
"-DQGLVIEWER_INCLUDE_DIR=${libqglviewer}/include/QGLViewer" "-DQGLVIEWER_INCLUDE_DIR=${libqglviewer}/include/QGLViewer"

View file

@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
nativeBuildInputs = [ bison flex ]; nativeBuildInputs = [ bison flex ];
buildInputs = [ perl gmp mpfr ] buildInputs = [ perl gmp mpfr ]
++ lib.optional enableGist qtbase; ++ lib.optional enableGist qtbase;

View file

@ -50,6 +50,8 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ]; depsBuildBuild = [ buildPackages.stdenv.cc ];
dontWrapQtApps = true;
configureFlags = [ configureFlags = [
"--enable-fixed-path=${gnupg}/bin" "--enable-fixed-path=${gnupg}/bin"
"--with-libgpg-error-prefix=${libgpgerror.dev}" "--with-libgpg-error-prefix=${libgpgerror.dev}"

View file

@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
maintainers = with lib.maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
# The build requires at least Qt 5.14: # The build requires at least Qt 5.14:

View file

@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
dontUseQmakeConfigure = true; dontUseQmakeConfigure = true;
configureFlags = [ "-config" "release" ]; configureFlags = [ "-config" "release" ];
dontWrapQtApps = true;
preConfigure = '' preConfigure = ''
sed -i -e 's|/bin/pwd|pwd|g' configure sed -i -e 's|/bin/pwd|pwd|g' configure
''; '';

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation {
cmakeFlags = [ "-DWITH_DOC=OFF" ]; cmakeFlags = [ "-DWITH_DOC=OFF" ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Provides a Qt implementation of the DBusMenu spec"; description = "Provides a Qt implementation of the DBusMenu spec";
inherit homepage; inherit homepage;

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DWITH_DOC=OFF" ]; cmakeFlags = [ "-DWITH_DOC=OFF" ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://launchpad.net/libdbusmenu-qt"; homepage = "https://launchpad.net/libdbusmenu-qt";
description = "Provides a Qt implementation of the DBusMenu spec"; description = "Provides a Qt implementation of the DBusMenu spec";

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
buildInputs = [ fftw qtbase ]; buildInputs = [ fftw qtbase ];
dontWrapQtApps = true;
postPatch = '' postPatch = ''
substituteInPlace LibKeyFinder.pro \ substituteInPlace LibKeyFinder.pro \
--replace "/usr/local" "$out" \ --replace "/usr/local" "$out" \

View file

@ -27,6 +27,8 @@ in stdenv.mkDerivation rec {
inherit mainVersion; inherit mainVersion;
}; };
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "A BitTorrent library used by KTorrent"; description = "A BitTorrent library used by KTorrent";
homepage = "https://www.kde.org/applications/internet/ktorrent/"; homepage = "https://www.kde.org/applications/internet/ktorrent/";

View file

@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
buildInputs = [ fftwSinglePrec libsamplerate qtbase ] buildInputs = [ fftwSinglePrec libsamplerate qtbase ]
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration; ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/lastfm/liblastfm"; homepage = "https://github.com/lastfm/liblastfm";
repositories.git = "git://github.com/lastfm/liblastfm.git"; repositories.git = "git://github.com/lastfm/liblastfm.git";

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase libGLU ] buildInputs = [ qtbase libGLU ]
++ lib.optional stdenv.isDarwin AGL; ++ lib.optional stdenv.isDarwin AGL;
dontWrapQtApps = true;
postPatch = '' postPatch = ''
cd QGLViewer cd QGLViewer
''; '';

View file

@ -33,6 +33,8 @@ stdenv.mkDerivation rec {
rmdir $out/bin || true rmdir $out/bin || true
''; '';
dontWrapQtApps = true;
postFixup = lib.optionalString stdenv.isDarwin '' postFixup = lib.optionalString stdenv.isDarwin ''
app=$out/Applications/opencsgexample.app/Contents/MacOS/opencsgexample app=$out/Applications/opencsgexample.app/Contents/MacOS/opencsgexample
install_name_tool -change \ install_name_tool -change \

View file

@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
# on system paths being set. # on system paths being set.
patches = [ ./gst-plugin-paths.patch ]; patches = [ ./gst-plugin-paths.patch ];
dontWrapQtApps = true;
NIX_CFLAGS_COMPILE = NIX_CFLAGS_COMPILE =
let gstPluginPaths = let gstPluginPaths =
lib.makeSearchPathOutput "lib" "/lib/gstreamer-1.0" lib.makeSearchPathOutput "lib" "/lib/gstreamer-1.0"

View file

@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
extra-cmake-modules extra-cmake-modules
]; ];
dontWrapQtApps = true;
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}" "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
]; ];

View file

@ -58,6 +58,8 @@ stdenv.mkDerivation rec {
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}" "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
]; ];
dontWrapQtApps = true;
preConfigure = '' preConfigure = ''
cmakeFlags+=" -DPHONON_QT_MKSPECS_INSTALL_DIR=''${!outputDev}/mkspecs" cmakeFlags+=" -DPHONON_QT_MKSPECS_INSTALL_DIR=''${!outputDev}/mkspecs"
cmakeFlags+=" -DPHONON_QT_IMPORTS_INSTALL_DIR=''${!outputBin}/$qtQmlPrefix" cmakeFlags+=" -DPHONON_QT_IMPORTS_INSTALL_DIR=''${!outputBin}/$qtQmlPrefix"

View file

@ -16,6 +16,8 @@ stdenv.mkDerivation {
propagatedBuildInputs = [ polkit glib qtbase ]; propagatedBuildInputs = [ polkit glib qtbase ];
dontWrapQtApps = true;
postFixup = '' postFixup = ''
# Fix library location in CMake module # Fix library location in CMake module
sed -i "$dev/lib/cmake/PolkitQt5-1/PolkitQt5-1Config.cmake" \ sed -i "$dev/lib/cmake/PolkitQt5-1/PolkitQt5-1Config.cmake" \

View file

@ -53,6 +53,8 @@ stdenv.mkDerivation rec {
(mkFlag qt5Support "QT5") (mkFlag qt5Support "QT5")
]; ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://poppler.freedesktop.org/"; homepage = "https://poppler.freedesktop.org/";
description = "A PDF rendering library"; description = "A PDF rendering library";

View file

@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
sed -i -e '1i cmake_policy(SET CMP0025 NEW)' CMakeLists.txt sed -i -e '1i cmake_policy(SET CMP0025 NEW)' CMakeLists.txt
''; '';
dontWrapQtApps = true;
cmakeFlags = [ cmakeFlags = [
(mkFlag true "UNSTABLE_API_ABI_HEADERS") # previously "XPDF_HEADERS" (mkFlag true "UNSTABLE_API_ABI_HEADERS") # previously "XPDF_HEADERS"
(mkFlag (!minimal) "GLIB") (mkFlag (!minimal) "GLIB")

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
python3 qtbase qtquickcontrols qtsvg ncurses python3 qtbase qtquickcontrols qtsvg ncurses
]; ];
dontWrapQtApps = true;
patches = [ ./qml-path.patch ]; patches = [ ./qml-path.patch ];
installTargets = [ "sub-src-install_subtargets" ]; installTargets = [ "sub-src-install_subtargets" ];

View file

@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
"PYTHON_PATH=${python}/bin" "PYTHON_PATH=${python}/bin"
"PYTHON_LIB=${python}/lib"]; "PYTHON_LIB=${python}/lib"];
dontWrapQtApps = true;
unpackCmd = "unzip $src"; unpackCmd = "unzip $src";
installPhase = '' installPhase = ''

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl qtbase ]; buildInputs = [ openssl qtbase ];
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
dontWrapQtApps = true;
# Without this patch cmake fails with a "No known features for CXX compiler" # Without this patch cmake fails with a "No known features for CXX compiler"
# error on darwin # error on darwin
patches = lib.optional stdenv.isDarwin ./move-project.patch ; patches = lib.optional stdenv.isDarwin ./move-project.patch ;

View file

@ -9,6 +9,7 @@ stdenv.mkDerivation {
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
buildInputs = [ qtdeclarative ]; buildInputs = [ qtdeclarative ];

View file

@ -32,6 +32,8 @@ stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
meta = { meta = {
description = "A QML port of qtermwidget"; description = "A QML port of qtermwidget";
homepage = "https://github.com/Swordfish90/qmltermwidget"; homepage = "https://github.com/Swordfish90/qmltermwidget";

View file

@ -21,6 +21,8 @@ stdenv.mkDerivation {
NIX_CFLAGS_COMPILE = "-I${qca-qt5}/include/Qca-qt5/QtCrypto"; NIX_CFLAGS_COMPILE = "-I${qca-qt5}/include/Qca-qt5/QtCrypto";
NIX_LDFLAGS = "-lqca-qt5"; NIX_LDFLAGS = "-lqca-qt5";
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Qt library for OAuth authentication"; description = "Qt library for OAuth authentication";
inherit (qtbase.meta) platforms; inherit (qtbase.meta) platforms;

View file

@ -35,6 +35,7 @@ in stdenv.mkDerivation rec {
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
postPatch = '' postPatch = ''
substituteInPlace qscintilla.pro \ substituteInPlace qscintilla.pro \

View file

@ -100,4 +100,13 @@ if [ -z "${dontPatchMkspecs-}" ]; then
postPhases="${postPhases-}${postPhases:+ }postPatchMkspecs" postPhases="${postPhases-}${postPhases:+ }postPatchMkspecs"
fi fi
qtPreHook() {
# Check that wrapQtAppsHook is used, or it is explicitly disabled.
if [[ -z "$__nix_wrapQtAppsHook" && -z "$dontWrapQtApps" ]]; then
echo >&2 "Error: wrapQtAppsHook is not used, and dontWrapQtApps is not set."
exit 1
fi
}
prePhases+=" qtPreHook"
fi fi

View file

@ -34,6 +34,8 @@ mkDerivation (args // {
fixQtBuiltinPaths . '*.pr?' fixQtBuiltinPaths . '*.pr?'
''; '';
dontWrapQtApps = args.dontWrapQtApps or true;
postFixup = '' postFixup = ''
if [ -d "''${!outputDev}/lib/pkgconfig" ]; then if [ -d "''${!outputDev}/lib/pkgconfig" ]; then
find "''${!outputDev}/lib/pkgconfig" -name '*.pc' | while read pc; do find "''${!outputDev}/lib/pkgconfig" -name '*.pc' | while read pc; do

View file

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
setOutputFlags = false; setOutputFlags = false;
enableParallelBuilding = true; enableParallelBuilding = true;
NIX_QT_SUBMODULE = true; NIX_QT_SUBMODULE = true;
dontWrapQtApps = true;
installPhase = '' installPhase = ''
mkdir -p $out/{bin,lib,share/qt-installer-framework} mkdir -p $out/{bin,lib,share/qt-installer-framework}

View file

@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
sha256 = "0h4wgngn2yl35hapbjs24amkjfbzsvnna4ixfhn87snjnq5lmjbc"; # v0.9.1 sha256 = "0h4wgngn2yl35hapbjs24amkjfbzsvnna4ixfhn87snjnq5lmjbc"; # v0.9.1
}; };
dontWrapQtApps = true;
patches = (if withQt5 then [] else [ ./0001-Fixes-build-with-Qt4.patch ]) ++ (if stdenv.isDarwin then [ ./0002-Fix-install-name-Darwin.patch ] else []); patches = (if withQt5 then [] else [ ./0001-Fixes-build-with-Qt4.patch ]) ++ (if stdenv.isDarwin then [ ./0002-Fix-install-name-Darwin.patch ] else []);
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ]; cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ];

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase protobuf ]; buildInputs = [ qtbase protobuf ];
dontWrapQtApps = true;
postPatch = '' postPatch = ''
# Fix plugin dir # Fix plugin dir
substituteInPlace pbfplugin.pro \ substituteInPlace pbfplugin.pro \

View file

@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase cpp-utilities ]; buildInputs = [ qtbase cpp-utilities ];
nativeBuildInputs = [ cmake qttools ]; nativeBuildInputs = [ cmake qttools ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/Martchus/qtutilities"; homepage = "https://github.com/Martchus/qtutilities";
description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities"; description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation {
buildInputs = [ qtwebkit hunspell ]; buildInputs = [ qtwebkit hunspell ];
dontWrapQtApps = true;
postPatch = '' postPatch = ''
sed -i "s,-lhunspell,-lhunspell-${lib.versions.majorMinor hunspell.version}," src/spellcheck/spellcheck.pri sed -i "s,-lhunspell,-lhunspell-${lib.versions.majorMinor hunspell.version}," src/spellcheck/spellcheck.pri
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ] nativeBuildInputs = [ cmake ]
++ lib.optional stdenv.isDarwin fixDarwinDylibNames; ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Provides access to ZIP archives from Qt programs"; description = "Provides access to ZIP archives from Qt programs";
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
qmakeFlags = [ "-after doc.path=$out/share/doc/${name}" ]; qmakeFlags = [ "-after doc.path=$out/share/doc/${name}" ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Qt widgets for technical applications"; description = "Qt widgets for technical applications";
homepage = "http://qwt.sourceforge.net/"; homepage = "http://qwt.sourceforge.net/";

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/coin3d/soqt"; homepage = "https://github.com/coin3d/soqt";
license = licenses.bsd3; license = licenses.bsd3;

View file

@ -20,6 +20,8 @@ in stdenv.mkDerivation rec {
# On 0.9.7, they do not even build with QT4 # On 0.9.7, they do not even build with QT4
cmakeFlags = lib.optional (!doCheck) "-DENABLE_TESTS=OFF"; cmakeFlags = lib.optional (!doCheck) "-DENABLE_TESTS=OFF";
dontWrapQtApps = true;
doCheck = false; # giving up for now doCheck = false; # giving up for now
meta = with lib; { meta = with lib; {

View file

@ -57,6 +57,8 @@ in stdenv.mkDerivation rec {
export LD_LIBRARY_PATH="$(pwd)/lib"; export LD_LIBRARY_PATH="$(pwd)/lib";
''; '';
dontWrapQtApps = true;
# Shared libraries don't work, because of rpath troubles with the current # Shared libraries don't work, because of rpath troubles with the current
# nixpkgs cmake approach. It wants to call a binary at build time, just # nixpkgs cmake approach. It wants to call a binary at build time, just
# built and requiring one of the shared objects. # built and requiring one of the shared objects.

View file

@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = with python.pkgs; [ sphinx numpy sip pyqt5 matplotlib ase ]; propagatedBuildInputs = with python.pkgs; [ sphinx numpy sip pyqt5 matplotlib ase ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Scientific visualization and analysis software for atomistic simulation data"; description = "Scientific visualization and analysis software for atomistic simulation data";
homepage = "https://www.ovito.org"; homepage = "https://www.ovito.org";

View file

@ -29,8 +29,7 @@ buildPythonPackage rec {
]; ];
dontUseQmakeConfigure = true; dontUseQmakeConfigure = true;
dontUseCmakeConfigure = true; dontWrapQtApps =true;
doCheck = false; doCheck = false;
postPatch = '' postPatch = ''

View file

@ -34,6 +34,8 @@ buildPythonPackage rec {
# no tests, just bindings for `poppler_qt5` # no tests, just bindings for `poppler_qt5`
doCheck = false; doCheck = false;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/wbsoft/python-poppler-qt5"; homepage = "https://github.com/wbsoft/python-poppler-qt5";
license = licenses.gpl2; license = licenses.gpl2;

View file

@ -40,6 +40,8 @@ in buildPythonPackage rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
dontWrapQtApps = true;
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
qmake qmake

View file

@ -45,6 +45,8 @@ in buildPythonPackage rec {
propagatedBuildInputs = [ pyqt5 ] propagatedBuildInputs = [ pyqt5 ]
++ lib.optional (!isPy3k) enum34; ++ lib.optional (!isPy3k) enum34;
dontWrapQtApps = true;
configurePhase = '' configurePhase = ''
runHook preConfigure runHook preConfigure

View file

@ -23,6 +23,8 @@ buildPythonPackage rec {
makeFlags = [ "QT_PLUGIN_PATH=${pysideShiboken}/lib/generatorrunner" ]; makeFlags = [ "QT_PLUGIN_PATH=${pysideShiboken}/lib/generatorrunner" ];
dontWrapQtApps = true;
meta = { meta = {
description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework"; description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
license = lib.licenses.lgpl21; license = lib.licenses.lgpl21;

View file

@ -25,6 +25,8 @@ stdenv.mkDerivation {
"-DBUILD_TESTS=OFF" "-DBUILD_TESTS=OFF"
]; ];
dontWrapQtApps = true;
# The upstream build system consists of a `setup.py` whichs builds three # The upstream build system consists of a `setup.py` whichs builds three
# different python libraries and calls cmake as a subprocess. We call cmake # different python libraries and calls cmake as a subprocess. We call cmake
# directly because that's easier to get working. However, the `setup.py` # directly because that's easier to get working. However, the `setup.py`

View file

@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
]; ];
propagatedBuildInputs = [ shiboken2 ]; propagatedBuildInputs = [ shiboken2 ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "LGPL-licensed Python bindings for Qt"; description = "LGPL-licensed Python bindings for Qt";
license = licenses.lgpl21; license = licenses.lgpl21;

View file

@ -14,6 +14,8 @@ buildPythonPackage {
buildInputs = [ qscintilla ]; buildInputs = [ qscintilla ];
propagatedBuildInputs = [ pyqt5 ]; propagatedBuildInputs = [ pyqt5 ];
dontWrapQtApps = true;
postPatch = '' postPatch = ''
substituteInPlace Python/configure.py \ substituteInPlace Python/configure.py \
--replace \ --replace \

View file

@ -44,6 +44,8 @@ buildPythonPackage rec {
boost boost
]; ];
dontWrapQtApps = true;
NIX_CFLAGS_COMPILE="-I ${python}/include/${python.libPrefix}"; NIX_CFLAGS_COMPILE="-I ${python}/include/${python.libPrefix}";
patches = [ patches = [

View file

@ -23,6 +23,8 @@ stdenv.mkDerivation {
"-DBUILD_TESTS=OFF" "-DBUILD_TESTS=OFF"
]; ];
dontWrapQtApps = true;
postInstall = '' postInstall = ''
rm $out/bin/shiboken_tool.py rm $out/bin/shiboken_tool.py
''; '';

View file

@ -23,6 +23,8 @@ rustPlatform.buildRustPackage rec {
git git
]; ];
dontWrapQtApps = true;
cargoSha256 = "1hdsn011y9invfy7can8c02zwa7birj9y1rxhrj7wyv4gh3659i0"; cargoSha256 = "1hdsn011y9invfy7can8c02zwa7birj9y1rxhrj7wyv4gh3659i0";
doCheck = false; doCheck = false;

View file

@ -12,6 +12,8 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
dontWrapQtApps = true;
postInstall = '' postInstall = ''
mkdir -p $out/bin mkdir -p $out/bin
cp -p converters/dprof2calltree $out/bin/dprof2calltree cp -p converters/dprof2calltree $out/bin/dprof2calltree

View file

@ -14,7 +14,7 @@
assert withQt5 -> useQt4 == false; assert withQt5 -> useQt4 == false;
assert useQt4 -> withQt5 == false; assert useQt4 -> withQt5 == false;
stdenv.mkDerivation rec { stdenv.mkDerivation (rec {
pname = "cmake" pname = "cmake"
+ lib.optionalString isBootstrap "-boot" + lib.optionalString isBootstrap "-boot"
+ lib.optionalString useNcurses "-cursesUI" + lib.optionalString useNcurses "-cursesUI"
@ -130,4 +130,5 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ ttuegel lnl7 ]; maintainers = with maintainers; [ ttuegel lnl7 ];
license = licenses.bsd3; license = licenses.bsd3;
}; };
} } // (if withQt5 then { dontWrapQtApps = true; } else {})
)

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
dontWrapQtApps = true;
qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ]; qmakeFlags = [ "QBS_INSTALL_PREFIX=$(out)" "qbs.pro" ];
buildInputs = [ qtbase qtscript ]; buildInputs = [ qtbase qtscript ];

View file

@ -19,6 +19,7 @@ stdenv.mkDerivation {
sourceRoot = "source/MiniZincIDE"; sourceRoot = "source/MiniZincIDE";
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
postInstall = '' postInstall = ''
wrapProgram $out/bin/MiniZincIDE --prefix PATH ":" ${lib.makeBinPath [ minizinc ]} wrapProgram $out/bin/MiniZincIDE --prefix PATH ":" ${lib.makeBinPath [ minizinc ]}

View file

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix} wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
''; '';
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
homepage = "https://www.kdbg.org/"; homepage = "https://www.kdbg.org/";
description = '' description = ''

View file

@ -77,6 +77,8 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
dontWrapQtApps = true;
installPhase = '' installPhase = ''
mkdir -p $out/share/doc/phantomjs mkdir -p $out/share/doc/phantomjs
cp -a bin $out cp -a bin $out

View file

@ -53,6 +53,8 @@ stdenv.mkDerivation rec {
"${placeholder "out"}/opt/rgp/qt" "${placeholder "out"}/opt/rgp/qt"
]; ];
dontWrapQtApps = true;
installPhase = '' installPhase = ''
mkdir -p $out/opt/rgp $out/bin mkdir -p $out/opt/rgp $out/bin
cp -r . $out/opt/rgp/ cp -r . $out/opt/rgp/

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
cp -r DwarfTherapist.app $out/Applications cp -r DwarfTherapist.app $out/Applications
'' else null; '' else null;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Tool to manage dwarves in a running game of Dwarf Fortress"; description = "Tool to manage dwarves in a running game of Dwarf Fortress";
maintainers = with maintainers; [ abbradar bendlas numinit jonringer ]; maintainers = with maintainers; [ abbradar bendlas numinit jonringer ];

View file

@ -37,6 +37,8 @@ in stdenv.mkDerivation rec {
++ optional server readline ++ optional server readline
++ optional enableSqlite sqlite; ++ optional enableSqlite sqlite;
dontWrapQtApps = true;
configureFlags = [ "--enable-shared" ] configureFlags = [ "--enable-shared" ]
++ optional sdlClient "--enable-client=sdl" ++ optional sdlClient "--enable-client=sdl"
++ optionals qtClient [ ++ optionals qtClient [

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Go engine modeled after AlphaGo Zero"; description = "Go engine modeled after AlphaGo Zero";
homepage = "https://github.com/gcp/leela-zero"; homepage = "https://github.com/gcp/leela-zero";

View file

@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
"-DDESIRED_QT_VERSION:INT=5" "-DDESIRED_QT_VERSION:INT=5"
]; ];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "An unofficial open source engine reimplementation of the game Morrowind"; description = "An unofficial open source engine reimplementation of the game Morrowind";
homepage = "http://openmw.org"; homepage = "http://openmw.org";

View file

@ -61,6 +61,8 @@ in openmw.overrideAttrs (oldAttrs: rec {
"-DRakNet_LIBRARY_DEBUG=${rakNetLibrary}/lib/libRakNetLibStatic.a" "-DRakNet_LIBRARY_DEBUG=${rakNetLibrary}/lib/libRakNetLibStatic.a"
]; ];
dontWrapQtApps = true;
# https://github.com/TES3MP/openmw-tes3mp/issues/552 # https://github.com/TES3MP/openmw-tes3mp/issues/552
patches = [ patches = [
./tes3mp.patch ./tes3mp.patch

Some files were not shown because too many files have changed in this diff Show more