https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
15 lines
203 B
Nix
15 lines
203 B
Nix
{
|
|
mkDerivation
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "breeze-grub";
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p "$out/grub/themes"
|
|
mv breeze "$out/grub/themes"
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|