tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
jshon: fix musl build
Fabian Möller
5 years ago
3cd69706
f2b13598
+10
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
parsing
jshon
default.nix
+10
-2
pkgs/development/tools/parsing/jshon/default.nix
···
1
1
-
{ stdenv, lib, fetchFromGitHub, jansson }:
1
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
16
-
patchPhase =
16
16
+
patches = [
17
17
+
(fetchpatch {
18
18
+
# https://github.com/keenerd/jshon/pull/62
19
19
+
url = "https://github.com/keenerd/jshon/commit/96b4e9dbf578be7b31f29740b608aa7b34df3318.patch";
20
20
+
sha256 = "0kwbn3xb37iqb5y1n8vhzjiwlbg5jmki3f38pzakc24kzc5ksmaa";
21
21
+
})
22
22
+
];
23
23
+
24
24
+
postPatch =
17
25
''
18
26
substituteInPlace Makefile --replace "/usr/" "/"
19
27
'';