commit f2b3fd5fc74852b4825cc4f1c923e24a53ff1124 parent f3d3aeb8941d14aca73aa8a1971684ab3e2b95e5 Author: Vincent Demeester <vincent@sbr.pm> Date: Fri, 30 Jul 2021 16:54:22 +0200 nix/packages: copy only a subset of plymouth themes Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | nix/packages/adi1090x-plymouth/default.nix | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/nix/packages/adi1090x-plymouth/default.nix b/nix/packages/adi1090x-plymouth/default.nix @@ -20,10 +20,9 @@ pkgs.stdenv.mkDerivation rec { ''; installPhase = '' - cp -r pack_1/* $out/share/plymouth/themes - cp -r pack_2/* $out/share/plymouth/themes - cp -r pack_3/* $out/share/plymouth/themes - cp -r pack_4/* $out/share/plymouth/themes + cp -r pack_1/cuts $out/share/plymouth/themes + cp -r pack_2/{hexagon,green_loader,deus_ex} $out/share/plymouth/themes + cp -r pack_4/{spinner_alt,sphere} $out/share/plymouth/themes for p in $out/share/plymouth/themes/*; do theme=$(basename $p) sed -i "s@\/usr\/@$out\/@" $out/share/plymouth/themes/$theme/$theme.plymouth