catppuccin-sddm-corners: add qt dependencies

Continuation of https://github.com/NixOS/nixpkgs/pull/273514
This commit is contained in:
Austin Horstman 2024-03-26 21:59:07 -05:00
parent e79b396303
commit ed0c2371a1
No known key found for this signature in database
1 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, libsForQt5
, unstableGitUpdater
}:
@ -17,6 +18,20 @@ stdenvNoCC.mkDerivation {
dontConfigure = true;
dontBuild = true;
dontWrapQtApps = true;
propagatedBuildInputs = with libsForQt5.qt5; [
qtgraphicaleffects
qtquickcontrols2
qtsvg
];
postFixup = ''
mkdir -p $out/nix-support
echo ${libsForQt5.qt5.qtgraphicaleffects} >> $out/nix-support/propagated-user-env-packages
echo ${libsForQt5.qt5.qtquickcontrols2} >> $out/nix-support/propagated-user-env-packages
echo ${libsForQt5.qt5.qtsvg} >> $out/nix-support/propagated-user-env-packages
'';
installPhase = ''
runHook preInstall