nixos-configs/scopedPackages/dracula/plymouth.nix
matt1432 838df34dfb
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: rename legacyPackages to scopedPackages
2024-11-20 15:17:55 -05:00

21 lines
386 B
Nix

{
stdenv,
dracula-plymouth-src,
mkVersion,
...
}:
stdenv.mkDerivation {
pname = "dracula-plymouth";
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/
'';
}