summary refs log tree commit diff
path: root/pkgs/tools/system/gptfdisk/default.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-30 18:17:21 +0100
committerGitHub <noreply@github.com>2021-11-30 18:17:21 +0100
commitdb0968babbacb0c22a00281cc642dca605217ab9 (patch)
treed7579c57f19b505553d7a78f9f15644c6c56ebd8 /pkgs/tools/system/gptfdisk/default.nix
parentc876d31bd12aaefe3bfc387136119396f5d084d8 (diff)
parent3e894f67fe87c887cf4ff44110603a0437c6a639 (diff)
downloadnixpkgs-db0968babbacb0c22a00281cc642dca605217ab9.tar
nixpkgs-db0968babbacb0c22a00281cc642dca605217ab9.tar.gz
nixpkgs-db0968babbacb0c22a00281cc642dca605217ab9.tar.bz2
nixpkgs-db0968babbacb0c22a00281cc642dca605217ab9.tar.lz
nixpkgs-db0968babbacb0c22a00281cc642dca605217ab9.tar.xz
nixpkgs-db0968babbacb0c22a00281cc642dca605217ab9.tar.zst
nixpkgs-db0968babbacb0c22a00281cc642dca605217ab9.zip
Merge pull request #147778 from trofi/fix-gptfdisk-on-ncurses-6.3
Diffstat (limited to 'pkgs/tools/system/gptfdisk/default.nix')
-rw-r--r--pkgs/tools/system/gptfdisk/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/system/gptfdisk/default.nix b/pkgs/tools/system/gptfdisk/default.nix
index 0e7aff32bf0..fc6bf89e449 100644
--- a/pkgs/tools/system/gptfdisk/default.nix
+++ b/pkgs/tools/system/gptfdisk/default.nix
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-ldGYVvAE2rxLjDQrJhLo0KnuvdUgBClxiDafFS6dxt8=";
   };
 
+  patches = [
+    # fix build failure against ncurses-6.3 (pending upstream inclusion):
+    #  https://sourceforge.net/p/gptfdisk/mailman/message/37392412/
+    ./ncurses-6.3.patch
+  ];
+
   postPatch = ''
     patchShebangs gdisk_test.sh
   '' + lib.optionalString stdenv.isDarwin ''