Merge pull request #239473 from nikstur/erofs-darwin
erofs-utils: enable running on darwin
This commit is contained in:
commit
b1a839f1cf
2 changed files with 10 additions and 7 deletions
|
@ -1,4 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fuse, libuuid, lz4 }:
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fuse, util-linux, lz4
|
||||
, fuseSupport ? stdenv.isLinux
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "erofs-utils";
|
||||
|
@ -12,14 +14,15 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ fuse libuuid lz4 ];
|
||||
buildInputs = [ util-linux lz4 ]
|
||||
++ lib.optionals fuseSupport [ fuse ];
|
||||
|
||||
configureFlags = [ "--enable-fuse" ];
|
||||
configureFlags = lib.optionals fuseSupport [ "--enable-fuse" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Userspace utilities for linux-erofs file system";
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
maintainers = with maintainers; [ ehmry ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ehmry nikstur ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -7203,6 +7203,8 @@ with pkgs;
|
|||
|
||||
ecmtools = callPackage ../tools/cd-dvd/ecm-tools { };
|
||||
|
||||
erofs-utils = callPackage ../tools/filesystems/erofs-utils { };
|
||||
|
||||
e2tools = callPackage ../tools/filesystems/e2tools { };
|
||||
|
||||
e2fsprogs = callPackage ../tools/filesystems/e2fsprogs { };
|
||||
|
@ -27065,8 +27067,6 @@ with pkgs;
|
|||
|
||||
dstat = callPackage ../os-specific/linux/dstat { };
|
||||
|
||||
erofs-utils = callPackage ../os-specific/linux/erofs-utils { };
|
||||
|
||||
evdev-proto = callPackage ../os-specific/bsd/freebsd/evdev-proto { };
|
||||
|
||||
fscryptctl = callPackage ../os-specific/linux/fscryptctl { };
|
||||
|
|
Loading…
Reference in a new issue