Qt: Difference between revisions
imported>Tobias.bora No edit summary |
imported>Tobias.bora No edit summary |
||
| Line 112: | Line 112: | ||
{ pkgs ? import <nixpkgs> {} }: | { pkgs ? import <nixpkgs> {} }: | ||
pkgs.libsForQt5.callPackage ./derivation.nix {} | pkgs.libsForQt5.callPackage ./derivation.nix {} | ||
</syntaxHighlight> | |||
For actual python applications, you can also use something like (TODO: check difference between wrapGAppsHook and wrapQtAppsHook) : | |||
<syntaxHighlight> | |||
python3.pkgs.buildPythonApplication { | |||
pname = "gnome-music"; | |||
version = "3.32.2"; | |||
nativeBuildInputs = [ | |||
wrapGAppsHook | |||
gobject-introspection | |||
... | |||
]; | |||
dontWrapGApps = true; | |||
# Arguments to be passed to `makeWrapper`, only used by buildPython* | |||
preFixup = '' | |||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") | |||
''; | |||
} | |||
</syntaxHighlight> | </syntaxHighlight> | ||