about summary refs log tree commit diff
path: root/pkgs/tools/system/gptfdisk/default.nix
diff options
context:
space:
mode:
authorIzumi Raine <63145238+IzumiRaine@users.noreply.github.com>2022-09-14 17:48:47 +0200
committerehmry <ehmry@posteo.net>2022-09-14 21:28:55 -0500
commit288a708031cbe396847c89ee4213596242a12520 (patch)
treefc39cf91e47221f242bb816d5a5c849ee2a6b9e1 /pkgs/tools/system/gptfdisk/default.nix
parent302b1d05db31ae2eaf7d5456fd260df8b9e7ab97 (diff)
downloadnixlib-288a708031cbe396847c89ee4213596242a12520.tar
nixlib-288a708031cbe396847c89ee4213596242a12520.tar.gz
nixlib-288a708031cbe396847c89ee4213596242a12520.tar.bz2
nixlib-288a708031cbe396847c89ee4213596242a12520.tar.lz
nixlib-288a708031cbe396847c89ee4213596242a12520.tar.xz
nixlib-288a708031cbe396847c89ee4213596242a12520.tar.zst
nixlib-288a708031cbe396847c89ee4213596242a12520.zip
gptfdisk 1.0.9: add patch to fix UUID generation
Diffstat (limited to 'pkgs/tools/system/gptfdisk/default.nix')
-rw-r--r--pkgs/tools/system/gptfdisk/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/system/gptfdisk/default.nix b/pkgs/tools/system/gptfdisk/default.nix
index b470b9cea709..871d309d5304 100644
--- a/pkgs/tools/system/gptfdisk/default.nix
+++ b/pkgs/tools/system/gptfdisk/default.nix
@@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-2v6tJpP6646Ll4MrI0B/btWzIZvBeE9ILdhVd04tUMI=";
   };
 
+  patches = [
+    # fix UUID generation (from upstream but not yet released):
+    # https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f/
+    # https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1853985.html
+    ./uuid.patch
+  ];
+
   postPatch = ''
     patchShebangs gdisk_test.sh
   '' + lib.optionalString stdenv.isDarwin ''