howdoi: cachelib and appdirs dependencies _also_ needed for Linux.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2020-04-19 19:43:08 +00:00
parent 0e48a68559
commit 85501cae5e
No known key found for this signature in database
GPG key ID: 0437A96EFE4C426E

View file

@ -1,5 +1,4 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, six
@ -19,8 +18,7 @@ buildPythonPackage rec {
sha256 = "3b322668606d29d8a841c3b28c0574851f512b55c33a7ceb982b6a98d82fa3e3";
};
propagatedBuildInputs = [ six requests-cache pygments pyquery ]
++ lib.optionals stdenv.isDarwin [ cachelib appdirs ];
propagatedBuildInputs = [ six requests-cache pygments pyquery cachelib appdirs ];
preCheck = ''
export HOME=$(mktemp -d)