nixos-configs/legacyPackages/dracula/plymouth.nix

22 lines
386 B
Nix
Raw Normal View History

{
stdenv,
dracula-plymouth-src,
2024-06-13 22:27:54 -04:00
mkVersion,
...
}:
stdenv.mkDerivation {
pname = "dracula-plymouth";
2024-06-13 22:27:54 -04:00
version = mkVersion dracula-plymouth-src;
src = dracula-plymouth-src;
installPhase = ''
chmod 777 ./dracula
sed -i "s@\/usr\/@$out\/@" ./dracula/dracula.plymouth
mkdir -p $out/share/plymouth/themes
cp -a ./dracula $out/share/plymouth/themes/
'';
}