s3backer: add darwin build
This commit is contained in:
parent
f8f5ae544b
commit
fe7b5496aa
@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
buildInputs = [ fuse curl expat ];
|
buildInputs = [ fuse curl expat ];
|
||||||
|
|
||||||
|
# AC_CHECK_DECLS doesn't work with clang
|
||||||
|
postPatch = lib.optionalString stdenv.cc.isClang ''
|
||||||
|
substituteInPlace configure.ac --replace \
|
||||||
|
'AC_CHECK_DECLS(fdatasync)' ""
|
||||||
|
'';
|
||||||
|
|
||||||
autoreconfPhase = ''
|
autoreconfPhase = ''
|
||||||
patchShebangs ./autogen.sh
|
patchShebangs ./autogen.sh
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -25,6 +31,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/archiecobbs/s3backer";
|
homepage = "https://github.com/archiecobbs/s3backer";
|
||||||
description = "FUSE-based single file backing store via Amazon S3";
|
description = "FUSE-based single file backing store via Amazon S3";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = with platforms; linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user