Merge pull request #302724 from name-snrl/where-is-my-sddm-theme-fix-qt5
where-is-my-sddm-theme: fix qt5 variant and add qtsvg to qt6
This commit is contained in:
commit
49b9f86991
|
@ -45,26 +45,37 @@ stdenvNoCC.mkDerivation rec {
|
||||||
propagatedUserEnvPkgs =
|
propagatedUserEnvPkgs =
|
||||||
[ ]
|
[ ]
|
||||||
++ lib.optional (lib.elem "qt5" variants) [ libsForQt5.qtgraphicaleffects ]
|
++ lib.optional (lib.elem "qt5" variants) [ libsForQt5.qtgraphicaleffects ]
|
||||||
++ lib.optional (lib.elem "qt6" variants) [ qt6.qt5compat ];
|
++ lib.optional (lib.elem "qt6" variants) [
|
||||||
|
qt6.qt5compat
|
||||||
|
qt6.qtsvg
|
||||||
|
];
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
mkdir -p $out/share/sddm/themes/
|
mkdir -p $out/share/sddm/themes/
|
||||||
''
|
''
|
||||||
+ lib.optionalString (lib.elem "qt6" variants) ''
|
+ lib.optionalString (lib.elem "qt6" variants) (
|
||||||
cp -r where_is_my_sddm_theme/ $out/share/sddm/themes/
|
''
|
||||||
''
|
cp -r where_is_my_sddm_theme/ $out/share/sddm/themes/
|
||||||
+ lib.optionalString (lib.elem "qt5" variants) ''
|
''
|
||||||
cp -r where_is_my_sddm_theme_qt5/ $out/share/sddm/themes/
|
+ lib.optionalString (lib.isAttrs themeConfig) ''
|
||||||
''
|
ln -sf ${user-cfg} $out/share/sddm/themes/where_is_my_sddm_theme/theme.conf.user
|
||||||
+ lib.optionalString (lib.isAttrs themeConfig) ''
|
''
|
||||||
ln -sf ${user-cfg} $out/share/sddm/themes/where_is_my_sddm_theme/theme.conf.user
|
)
|
||||||
'';
|
+ lib.optionalString (lib.elem "qt5" variants) (
|
||||||
|
''
|
||||||
|
cp -r where_is_my_sddm_theme_qt5/ $out/share/sddm/themes/
|
||||||
|
''
|
||||||
|
+ lib.optionalString (lib.isAttrs themeConfig) ''
|
||||||
|
ln -sf ${user-cfg} $out/share/sddm/themes/where_is_my_sddm_theme_qt5/theme.conf.user
|
||||||
|
''
|
||||||
|
);
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The most minimalistic SDDM theme among all themes";
|
description = "The most minimalistic SDDM theme among all themes";
|
||||||
homepage = "https://github.com/stepanzubkov/where-is-my-sddm-theme";
|
homepage = "https://github.com/stepanzubkov/where-is-my-sddm-theme";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ name-snrl ];
|
maintainers = with maintainers; [ name-snrl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user