Merge pull request #110129 from dotlambda/git-annex-adapter-patch
python3Packages.git-annex-adapter: fix tests
This commit is contained in:
commit
983fdcb88e
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, substituteAll
|
||||
{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch, substituteAll
|
||||
, python, util-linux, pygit2, gitMinimal, git-annex, cacert
|
||||
}:
|
||||
|
||||
|
@ -17,6 +17,11 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
patches = [
|
||||
# fix tests with recent versions of git-annex
|
||||
(fetchpatch {
|
||||
url = "https://github.com/alpernebbi/git-annex-adapter/commit/6c210d828e8a57b12c716339ad1bf15c31cd4a55.patch";
|
||||
sha256 = "17kp7pnm9svq9av4q7hfic95xa1w3z02dnr8nmg14sjck2rlmqsi";
|
||||
})
|
||||
(substituteAll {
|
||||
src = ./git-annex-path.patch;
|
||||
gitAnnex = "${git-annex}/bin/git-annex";
|
||||
|
|
Loading…
Reference in a new issue