nixos-config/pkgs/plymouth-theme-red.nix

26 lines
494 B
Nix
Raw Normal View History

{ pkgs, inputs }:
2022-12-14 01:05:27 -03:00
pkgs.stdenv.mkDerivation rec {
pname = "red-loader-plymouth";
version = "0.0.1";
src = inputs.plymouth-themes;
buildInputs = [
pkgs.git
];
configurePhase = ''
mkdir -p $out/share/plymouth/themes/
'';
buildPhase = ''
'';
installPhase = ''
cp -r pack_4/red_loader $out/share/plymouth/themes
cat pack_4/red_loader/red_loader.plymouth | sed "s@\/usr\/@$out\/@" > \
$out/share/plymouth/themes/red_loader/red_loader.plymouth
'';
}