sddm-astronaut: install fonts (#529276)
This commit is contained in:
@@ -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" ]; };
|
||||
|
||||
Reference in New Issue
Block a user