Merge pull request #237368 from wegank/xorriso-darwin

xorriso: fix build on darwin
This commit is contained in:
Weijia Wang 2023-06-13 00:11:36 +03:00 committed by GitHub
commit 810af5ee69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libcdio zlib bzip2 readline libiconv ]
++ lib.optionals stdenv.isLinux [ acl attr ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-include unistd.h";
meta = with lib; {
description = "ISO 9660 Rock Ridge file system manipulator";