20 lines
372 B
Nix
20 lines
372 B
Nix
{
|
|
stdenv,
|
|
dracula-plymouth-src,
|
|
...
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "dracula-plymouth";
|
|
version = dracula-plymouth-src.shortRev;
|
|
|
|
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/
|
|
'';
|
|
}
|