about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/glusterfs
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2017-09-08 03:46:59 +0200
committerNiklas Hambüchen <mail@nh2.me>2017-09-08 04:29:08 +0200
commit8e329da496f8e7f3c5b95c721b7a95317f5854c4 (patch)
tree13d123041a2e52a1d0f0018d3381d66629e80c8e /pkgs/tools/filesystems/glusterfs
parent5bc38fc0893e6d04d09ccb3722cdd5edb3bd57ec (diff)
glusterfs: Fix wrong xattr package: xattr -> pyxattr.
Fixes error

  File "/nix/store/lxpsl84km87xpk59nai6a33ihgpfs7qr-glusterfs-3.10.2/libexec/glusterfs/glusterfind/changelog.py", line 105, in populate_pgfid_and_inodegfid
      file_xattrs = xattr.list(p)
  AttributeError: 'module' object has no attribute 'list'

when using `glusterfind pre`.
Diffstat (limited to 'pkgs/tools/filesystems/glusterfs')
-rw-r--r--pkgs/tools/filesystems/glusterfs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix
index af76e429d31ca..2cba75860fe9d 100644
--- a/pkgs/tools/filesystems/glusterfs/default.nix
+++ b/pkgs/tools/filesystems/glusterfs/default.nix
@@ -28,7 +28,7 @@ let
       pkgs.flask
       pkgs.prettytable
       pkgs.requests
-      pkgs.xattr
+      pkgs.pyxattr
     ]))
     # NOTE: `python2` has to be *AFTER* the above `python2.withPackages`,
     #       to ensure that the packages are available but the `toPythonPath`