nix-stuff/nixpkgs_patches/pr383269.patch

22 lines
841 B
Diff

From 39dd19122fdabf519c256796df0ed998515990a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
Date: Wed, 19 Feb 2025 14:33:33 +0700
Subject: [PATCH] install-grub: add missing rmtree
---
nixos/modules/system/boot/loader/grub/install-grub.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl
index 4a588a75da147..f5ae844da21f9 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 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);