diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl index 4a588a75da14..f5ae844da21f 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -3,7 +3,7 @@ use warnings; use Class::Struct; use XML::LibXML; use File::Basename; -use File::Path qw(make_path); +use File::Path qw(make_path rmtree); use File::stat; use File::Copy; use File::Copy::Recursive qw(rcopy pathrm);