Allow substitutes for Plymouth theme

When using `runCommandLocal`, clients are required to download imagemagick
and the source files, even if the theme is already available from a binary
cache.
This commit is contained in:
Daniel Thwaites 2022-10-06 19:21:45 +01:00
parent 98114ad3ed
commit c1506122b4
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D

View file

@ -4,7 +4,7 @@ with lib;
with config.lib.stylix.colors;
let
theme = pkgs.runCommandLocal "plymouth-theme" { } ''
theme = pkgs.runCommand "stylix-plymouth" { } ''
themeDir="$out/share/plymouth/themes/stylix"
mkdir -p $themeDir