Unverified Commit 28806eef authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #240738 from wegank/libisofs-darwin

libisofs: add darwin support
parents 45efe48e 05e5ae68
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, acl, attr, zlib }:
{ lib, stdenv, fetchurl, acl, attr, libiconv, zlib }:

stdenv.mkDerivation rec {
  pname = "libisofs";
@@ -11,9 +11,12 @@ stdenv.mkDerivation rec {
    hash = "sha256-rB/TONZBdEyh+xVnkXGIt5vIwlBoMt1WiF/smGVrnyU=";
  };

  buildInputs = [
  buildInputs = lib.optionals stdenv.isLinux [
    acl
    attr
  ] ++ lib.optionals stdenv.isDarwin [
    libiconv
  ] ++ [
    zlib
  ];

@@ -24,6 +27,6 @@ stdenv.mkDerivation rec {
    description = "A library to create an ISO-9660 filesystem with extensions like RockRidge or Joliet";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ abbradar vrthra ];
    platforms = with platforms; linux;
    platforms = with platforms; unix;
  };
}