mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
afuse: add darwin build
This commit is contained in:
parent
0c81ece950
commit
f8f5ae544b
@ -11,11 +11,18 @@ stdenv.mkDerivation {
|
|||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
buildInputs = [ fuse ];
|
buildInputs = [ fuse ];
|
||||||
|
|
||||||
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
|
# Fix the build on macOS with macFUSE installed
|
||||||
|
substituteInPlace configure.ac --replace \
|
||||||
|
'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH' \
|
||||||
|
""
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Automounter in userspace";
|
description = "Automounter in userspace";
|
||||||
homepage = "https://github.com/pcarrier/afuse";
|
homepage = "https://github.com/pcarrier/afuse";
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
maintainers = [ lib.maintainers.marcweber ];
|
maintainers = [ lib.maintainers.marcweber ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user