Existing patch in nixpkgs causes segfault, see https://github.com/NixOS/nixpkgs/issues/219775. This replaces that with cherry-picks from upstream. Tested basic behavior (`sgdisk --version ; sgdisk /dev/sda1`) and both seem to work okay.