rrsync: fixed python3 and add braceexpand module

This commit is contained in:
Further 2022-07-12 03:30:48 +08:00 committed by GitHub
parent a91cea12b1
commit 9d7d8c11eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,13 @@
{ lib, stdenv, fetchurl, python, rsync, fetchpatch }:
{ lib, stdenv, fetchurl, python3, rsync, fetchpatch }:
stdenv.mkDerivation {
pname = "rrsync";
inherit (rsync) version srcs;
buildInputs = [ rsync python ];
buildInputs = [
rsync
(python3.withPackages (pythonPackages: with pythonPackages; [ braceexpand ]))
];
# Skip configure and build phases.
# We just want something from the support directory
dontConfigure = true;