From 5dadfddc58a0aadb9cce0b35b0ead652415c4d3f Mon Sep 17 00:00:00 2001 From: Adam Kirby Date: Tue, 2 May 2023 12:30:44 -0400 Subject: [PATCH] juicefs: add mount.juicefs symlink Add mount.juicefs symlink so that /etc/fstab can mount juicefs fsType as required to use the NixOS fileSystems option with juicefs --- pkgs/tools/filesystems/juicefs/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/filesystems/juicefs/default.nix b/pkgs/tools/filesystems/juicefs/default.nix index 3ffa678e399..62565385558 100644 --- a/pkgs/tools/filesystems/juicefs/default.nix +++ b/pkgs/tools/filesystems/juicefs/default.nix @@ -26,6 +26,10 @@ buildGoModule rec { rm $out/bin/libjfs ''; + postInstall = '' + ln -s $out/bin/juicefs $out/bin/mount.juicefs + ''; + meta = with lib; { description = "A distributed POSIX file system built on top of Redis and S3"; homepage = "https://www.juicefs.com/";