tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
libqb: fix darwin build
Stanisław Pitucha
2 years ago
98463126
53ddbd41
+9
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libqb
default.nix
+9
-1
pkgs/development/libraries/libqb/default.nix
···
1
-
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
2
3
stdenv.mkDerivation rec {
4
pname = "libqb";
···
10
rev = "v${version}";
11
sha256 = "sha256-ZjxC7W4U8T68mZy/OvWj/e4W9pJIj2lVDoEjxXYr/G8=";
12
};
0
0
0
0
0
0
0
0
13
14
nativeBuildInputs = [ autoreconfHook pkg-config ];
15
···
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libxml2 }:
2
3
stdenv.mkDerivation rec {
4
pname = "libqb";
···
10
rev = "v${version}";
11
sha256 = "sha256-ZjxC7W4U8T68mZy/OvWj/e4W9pJIj2lVDoEjxXYr/G8=";
12
};
13
+
14
+
patches = [
15
+
# add a declaration of fdatasync, missing on darwin https://github.com/ClusterLabs/libqb/pull/496
16
+
(fetchpatch {
17
+
url = "https://github.com/ClusterLabs/libqb/commit/255ccb70ee19cc0c82dd13e4fd5838ca5427795f.patch";
18
+
hash = "sha256-6x4B3FM0XSRIeAly8JtMOGOdyunTcbaDzUeBZInXR4U=";
19
+
})
20
+
];
21
22
nativeBuildInputs = [ autoreconfHook pkg-config ];
23