tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bacula: fix build on aarch64-darwin
Weijia Wang
3 years ago
1ce5bfc5
3db0fa10
+6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
backup
bacula
default.nix
+6
pkgs/tools/backup/bacula/default.nix
···
11
11
sha256 = "sha256-AZWgi81PV4rkqc4Nkff4ZzHGNNVrgQU0ci1yGyqe7Lc=";
12
12
};
13
13
14
14
+
# libtool.m4 only matches macOS 10.*
15
15
+
postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
16
16
+
substituteInPlace configure \
17
17
+
--replace "10.*)" "*)"
18
18
+
'';
19
19
+
14
20
buildInputs = [ postgresql sqlite zlib ncurses openssl readline ]
15
21
++ lib.optionals stdenv.hostPlatform.isDarwin [
16
22
CoreFoundation