tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
expat: fix build on aarch
Robert Helgesson
8 years ago
2bbfac7b
67b6b7e4
+11
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
expat
default.nix
+11
-1
pkgs/development/libraries/expat/default.nix
···
1
1
-
{ stdenv, fetchurl }:
1
1
+
{ stdenv, fetchpatch, fetchurl }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "expat-2.2.3";
···
10
10
11
11
outputs = [ "out" "dev" ]; # TODO: fix referrers
12
12
outputBin = "dev";
13
13
+
14
14
+
patches = [
15
15
+
(fetchpatch {
16
16
+
name = "fix-aarch-build.patch";
17
17
+
url = "https://github.com/libexpat/libexpat/commit/d98d4399174fd6f71d70e7bd89993a0e7346753d.patch";
18
18
+
sha256 = "0z89wb4mzyf7vvl6kbflk5w1z7yc39jwvs3mkznin5agj34x063w";
19
19
+
stripLen = 1;
20
20
+
excludes = [ "coverage.sh" ];
21
21
+
})
22
22
+
];
13
23
14
24
configureFlags = stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
15
25