mergerfs-tools: use python3 version of xattr

This commit is contained in:
Frederik Rietdijk 2021-07-27 18:54:52 +02:00
parent 405307cf66
commit a6284f721d

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, coreutils, makeWrapper
, rsync, python3, pythonPackages }:
, rsync, python3 }:
stdenv.mkDerivation rec {
pname = "mergerfs-tools";
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
postInstall = with lib; ''
wrapProgram $out/bin/mergerfs.balance --prefix PATH : ${makeBinPath [ rsync ]}
wrapProgram $out/bin/mergerfs.dup --prefix PATH : ${makeBinPath [ rsync ]}
wrapProgram $out/bin/mergerfs.mktrash --prefix PATH : ${makeBinPath [ pythonPackages.xattr ]}
wrapProgram $out/bin/mergerfs.mktrash --prefix PATH : ${makeBinPath [ python3.pkgs.xattr ]}
'';
meta = with lib; {