about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorScott Edlund <sedlund@users.noreply.github.com>2024-04-06 12:06:13 +0800
committerScott Edlund <sedlund@users.noreply.github.com>2024-04-06 20:07:20 +0800
commitc5ce4700b977a7cedc2299bd007e33d723e99f5f (patch)
tree348b7c8b1393a12fc4c7ad815963399151b79450 /pkgs/tools/filesystems
parente7bb3751e4fb8af646a78c75b2ac026c88321c94 (diff)
juicefs: fix build
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/juicefs/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/filesystems/juicefs/default.nix b/pkgs/tools/filesystems/juicefs/default.nix
index 6f6dd4101597a..2a8cade877eb5 100644
--- a/pkgs/tools/filesystems/juicefs/default.nix
+++ b/pkgs/tools/filesystems/juicefs/default.nix
@@ -1,10 +1,12 @@
 { lib
-, buildGoModule
+, buildGo121Module
 , fetchFromGitHub
 , stdenv
 }:
 
-buildGoModule rec {
+# JuiceFS 1.1.2 doesn't build with Go 1.22. Fixed in upstream. This can be
+# reverted in future releases. https://github.com/juicedata/juicefs/issues/4339
+buildGo121Module rec {
   pname = "juicefs";
   version = "1.1.2";