abduco: fix darwin build
This commit is contained in:
parent
1dfbe1cd0e
commit
0a3f21564f
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchpatch, fetchzip, writeText, conf ? null }:
|
||||
{ lib, stdenv, fetchpatch, fetchzip, writeText, darwin, conf ? null }:
|
||||
|
||||
let
|
||||
rev = "8c32909a159aaa9484c82b71f05b7a73321eb491";
|
||||
@ -21,6 +21,10 @@ stdenv.mkDerivation {
|
||||
installFlags = [ "install-completion" ];
|
||||
CFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.libutil
|
||||
];
|
||||
|
||||
patches = [
|
||||
# https://github.com/martanne/abduco/pull/22
|
||||
(fetchpatch {
|
||||
|
Loading…
Reference in New Issue
Block a user