sddm-astronaut: install fonts (#529276)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-10 22:44:58 +00:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchFromGitHub,
installFonts,
kdePackages,
formats,
nix-update-script,
@@ -26,6 +27,8 @@ stdenvNoCC.mkDerivation {
dontWrapQtApps = true;
nativeBuildInputs = [ installFonts ];
propagatedBuildInputs = with kdePackages; [
# avoid .dev outputs propagation
qtsvg.out
@@ -34,6 +37,8 @@ stdenvNoCC.mkDerivation {
];
installPhase = ''
runHook preInstall
mkdir -p ${basePath}
cp -r $src/* ${basePath}
''
@@ -46,6 +51,9 @@ stdenvNoCC.mkDerivation {
+ lib.optionalString (themeConfig != null) ''
chmod u+w ${basePath}/Themes/
ln -sf ${configFile} ${basePath}/Themes/${embeddedTheme}.conf.user
''
+ ''
runHook postInstall
'';
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };