diff options
author | Sebastián Mancilla <smancill@smancill.dev> | 2021-11-19 17:07:49 -0300 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-11-19 15:49:33 -0800 |
commit | 2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0 (patch) | |
tree | 29db18dd74b73a012ad6770b590d835171567ff9 | |
parent | 8e4ef58acbadbeba439ad6030502d27f1724fd1b (diff) | |
download | nixpkgs-2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0.tar nixpkgs-2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0.tar.gz nixpkgs-2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0.tar.bz2 nixpkgs-2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0.tar.lz nixpkgs-2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0.tar.xz nixpkgs-2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0.tar.zst nixpkgs-2b84c77b3e4f439ef4f004c1ad5cd7f12a4bfab0.zip |
python3Packages.m3u8: fix build on Hydra (x86_64-darwin)
-rw-r--r-- | pkgs/development/python-modules/m3u8/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/m3u8/default.nix b/pkgs/development/python-modules/m3u8/default.nix index 0c3fb3562a0..1299160206d 100644 --- a/pkgs/development/python-modules/m3u8/default.nix +++ b/pkgs/development/python-modules/m3u8/default.nix @@ -21,6 +21,11 @@ buildPythonPackage rec { "tests/test_variant_m3u8.py" ]; + preCheck = '' + # Fix test on Hydra + substituteInPlace tests/test_model.py --replace "/tmp/d.m3u8" "$TMPDIR/d.m3u8" + ''; + meta = with lib; { homepage = "https://github.com/globocom/m3u8"; description = "Python m3u8 parser"; |