diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2019-12-05 22:36:00 -0500 |
---|---|---|
committer | Ben Wolsieffer <benwolsieffer@gmail.com> | 2019-12-05 22:36:00 -0500 |
commit | 9461f783f1650a38a7b163e9db41615575df6422 (patch) | |
tree | a38645bd7a0dd87df7e5a48ccc82fd754f08600a /pkgs/os-specific/linux/reptyr | |
parent | d3ee140e9feaa344c6ea62443501090e25ec41f3 (diff) | |
download | nixpkgs-9461f783f1650a38a7b163e9db41615575df6422.tar nixpkgs-9461f783f1650a38a7b163e9db41615575df6422.tar.gz nixpkgs-9461f783f1650a38a7b163e9db41615575df6422.tar.bz2 nixpkgs-9461f783f1650a38a7b163e9db41615575df6422.tar.lz nixpkgs-9461f783f1650a38a7b163e9db41615575df6422.tar.xz nixpkgs-9461f783f1650a38a7b163e9db41615575df6422.tar.zst nixpkgs-9461f783f1650a38a7b163e9db41615575df6422.zip |
reptyr: add patch to fix tests
Diffstat (limited to 'pkgs/os-specific/linux/reptyr')
-rw-r--r-- | pkgs/os-specific/linux/reptyr/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/reptyr/default.nix b/pkgs/os-specific/linux/reptyr/default.nix index c078fb18c4e..1635dc064be 100644 --- a/pkgs/os-specific/linux/reptyr/default.nix +++ b/pkgs/os-specific/linux/reptyr/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, python2 }: +{ stdenv, lib, fetchFromGitHub, fetchpatch, python2 }: stdenv.mkDerivation rec { version = "0.7.0"; @@ -11,6 +11,14 @@ stdenv.mkDerivation rec { sha256 = "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj"; }; + patches = [ + # Fix tests hanging + (fetchpatch { + url = "https://github.com/nelhage/reptyr/commit/bca3070ac0f3888b5d37ee162505be81b3b496ff.patch"; + sha256 = "0w6rpv9k4a80q0ijzdq5hlpr37ncr284piqjv5agy8diniwlilab"; + }) + ]; + makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ]; checkInputs = [ (python2.withPackages (p: [ p.pexpect ])) ]; |