mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
f3fd89af54
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
18 lines
381 B
Nix
18 lines
381 B
Nix
{ stdenv, logo ? null, lib, ... }: stdenv.mkDerivation {
|
|
pname = "plymouth-spinner-monochrome";
|
|
version = "1.0";
|
|
src = ./src;
|
|
|
|
buildPhase = lib.optionalString (logo != null) ''
|
|
cp $src . -r
|
|
ln -s ${logo} ./share/plymouth/themes/spinner-monochrome/watermark.png
|
|
'';
|
|
|
|
installPhase = ''
|
|
cp -r . $out
|
|
'';
|
|
|
|
meta = {
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|