Merge pull request #172212 from otavio/topic/fix-dosfstools

authored by Ben Siraphob and committed by GitHub 888c0bd1 2bd67e9a

+10 -1
+10 -1
pkgs/tools/filesystems/dosfstools/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv, gettext, xxd }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libiconv, gettext, xxd }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "dosfstools"; ··· 10 10 rev = "v${version}"; 11 11 sha256 = "sha256-2gxB0lQixiHOHw8uTetHekaM57fvUd9zOzSxWnvUz/c="; 12 12 }; 13 + 14 + patches = [ 15 + # macOS build fixes backported from master 16 + # TODO: remove on the next release 17 + (fetchpatch { 18 + url = "https://github.com/dosfstools/dosfstools/commit/77ffb87e8272760b3bb2dec8f722103b0effb801.patch"; 19 + sha256 = "sha256-xHxIs3faHK/sK3vAVoG8JcTe4zAV+ZtkozWIIFBvPWI="; 20 + }) 21 + ]; 13 22 14 23 nativeBuildInputs = [ autoreconfHook pkg-config ] 15 24 ++ lib.optional stdenv.isDarwin libiconv;