xorriso: fix build on darwin

This commit is contained in:
Weijia Wang 2023-06-12 17:45:16 +03:00
parent 748209b906
commit e2432e9abf

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";