diff --git a/pkgs/tools/filesystems/nixpart/0.4/blivet.patch b/pkgs/tools/filesystems/nixpart/0.4/blivet.patch index 1758d18442d2..d53231a84fd6 100644 --- a/pkgs/tools/filesystems/nixpart/0.4/blivet.patch +++ b/pkgs/tools/filesystems/nixpart/0.4/blivet.patch @@ -37,3 +37,15 @@ index 705b93d..7268d71 100644 # load the udev library libudev = CDLL(libudev) +diff --git a/blivet/deviceaction.py b/blivet/deviceaction.py +index 705b93d..60f8f32 100644 +--- a/blivet/deviceaction.py ++++ b/blivet/deviceaction.py +@@ -467,6 +467,7 @@ def execute(self): + + self.device.disk.format.commitToDisk() + ++ self.device.setup() + self.device.format.create(device=self.device.path, + options=self.device.formatArgs) +