diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-02-08 04:20:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-02-08 04:20:00 -0500 |
commit | 6e5de6b673dd02868367113619a5ef31a0e904ae (patch) | |
tree | 53048096f7b2eda60799e39b7c1525fe1c4be32a /pkgs/tools/filesystems/s3fs | |
parent | 1e13edd95a9ddb115f4eb2bd449166e33edc7cf4 (diff) | |
download | nixpkgs-6e5de6b673dd02868367113619a5ef31a0e904ae.tar nixpkgs-6e5de6b673dd02868367113619a5ef31a0e904ae.tar.gz nixpkgs-6e5de6b673dd02868367113619a5ef31a0e904ae.tar.bz2 nixpkgs-6e5de6b673dd02868367113619a5ef31a0e904ae.tar.lz nixpkgs-6e5de6b673dd02868367113619a5ef31a0e904ae.tar.xz nixpkgs-6e5de6b673dd02868367113619a5ef31a0e904ae.tar.zst nixpkgs-6e5de6b673dd02868367113619a5ef31a0e904ae.zip |
s3fs: enable on darwin
Diffstat (limited to 'pkgs/tools/filesystems/s3fs')
-rw-r--r-- | pkgs/tools/filesystems/s3fs/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/filesystems/s3fs/default.nix b/pkgs/tools/filesystems/s3fs/default.nix index 4932f48450f..282252b4b13 100644 --- a/pkgs/tools/filesystems/s3fs/default.nix +++ b/pkgs/tools/filesystems/s3fs/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, curl, openssl, libxml2, fuse }: +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, curl, openssl, libxml2, fuse, osxfuse }: stdenv.mkDerivation rec { pname = "s3fs-fuse"; @@ -11,7 +11,9 @@ stdenv.mkDerivation rec { sha256 = "115zqbspr17xmidhizjmsqv9c7ql2jhmxws8wh59bpz2335kn0q7"; }; - buildInputs = [ curl openssl libxml2 fuse ]; + buildInputs = [ curl openssl libxml2 ] + ++ stdenv.lib.optionals stdenv.isLinux [ fuse ] + ++ stdenv.lib.optionals stdenv.isDarwin [ osxfuse ]; nativeBuildInputs = [ autoreconfHook pkgconfig ]; configureFlags = [ @@ -25,6 +27,6 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Mount an S3 bucket as filesystem through FUSE"; license = licenses.gpl2; - platforms = platforms.linux; + platforms = platforms.linux ++ platforms.darwin; }; } |