lol

jshon: fix musl build

+10 -2
+10 -2
pkgs/development/tools/parsing/jshon/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, jansson }: 1 + { stdenv, lib, fetchFromGitHub, fetchpatch, jansson }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jshon"; ··· 13 13 14 14 buildInputs = [ jansson ]; 15 15 16 - patchPhase = 16 + patches = [ 17 + (fetchpatch { 18 + # https://github.com/keenerd/jshon/pull/62 19 + url = "https://github.com/keenerd/jshon/commit/96b4e9dbf578be7b31f29740b608aa7b34df3318.patch"; 20 + sha256 = "0kwbn3xb37iqb5y1n8vhzjiwlbg5jmki3f38pzakc24kzc5ksmaa"; 21 + }) 22 + ]; 23 + 24 + postPatch = 17 25 '' 18 26 substituteInPlace Makefile --replace "/usr/" "/" 19 27 '';