diff options
author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2019-07-20 00:14:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-20 00:14:05 -0700 |
commit | 784efe781608c8ebf196c63bfd8c994921f4a828 (patch) | |
tree | 5020a35e584e7eb47f7f45b970f8dab598be9206 /pkgs/tools/admin | |
parent | 5e811a5798cda83f44404ea98af4d175e2f85d92 (diff) | |
download | nixlib-784efe781608c8ebf196c63bfd8c994921f4a828.tar nixlib-784efe781608c8ebf196c63bfd8c994921f4a828.tar.gz nixlib-784efe781608c8ebf196c63bfd8c994921f4a828.tar.bz2 nixlib-784efe781608c8ebf196c63bfd8c994921f4a828.tar.lz nixlib-784efe781608c8ebf196c63bfd8c994921f4a828.tar.xz nixlib-784efe781608c8ebf196c63bfd8c994921f4a828.tar.zst nixlib-784efe781608c8ebf196c63bfd8c994921f4a828.zip |
awscli: fix the tests by patching pyyaml (#65134)
The checkPhase of the pyyaml dependency of awscli was failing due to running the tests with a newer version of libyaml.
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r-- | pkgs/tools/admin/awscli/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/admin/awscli/default.nix b/pkgs/tools/admin/awscli/default.nix index a4817d58a7d1..f8a68bc6f648 100644 --- a/pkgs/tools/admin/awscli/default.nix +++ b/pkgs/tools/admin/awscli/default.nix @@ -2,6 +2,7 @@ , python , groff , less +, fetchpatch }: let @@ -27,7 +28,11 @@ let inherit version; sha256 = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf"; }; - doCheck = false; + # https://github.com/yaml/pyyaml/issues/298#issuecomment-511990948 + patches = lib.singleton (fetchpatch { + url = "https://github.com/yaml/pyyaml/commit/c5b135fe39d41cffbdc006f28ccb2032df6005e0.patch"; + sha256 = "0x1v45rkmj194c41d1nqi3ihj9z4rsy8zvpfcd8p960g1fia7fhn"; + }); }); }; }; |