diff options
author | Sirio Balmelli <sirio@b-ad.ch> | 2020-04-19 21:39:37 +0200 |
---|---|---|
committer | Sirio Balmelli <sirio@b-ad.ch> | 2020-04-19 21:39:37 +0200 |
commit | 0e48a68559dabdee75788323bd77ab8b579d6205 (patch) | |
tree | 247521738410e3156ea3a86e1916c19ba29018c1 /pkgs/development/python-modules/howdoi | |
parent | 2a8f5b02b70bd515197ac1caaccb16946e9d94be (diff) |
howdoi: fix Darwin build dependencies
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Diffstat (limited to 'pkgs/development/python-modules/howdoi')
-rw-r--r-- | pkgs/development/python-modules/howdoi/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/howdoi/default.nix b/pkgs/development/python-modules/howdoi/default.nix index 9b1fb75b46180..970c2025879f6 100644 --- a/pkgs/development/python-modules/howdoi/default.nix +++ b/pkgs/development/python-modules/howdoi/default.nix @@ -1,10 +1,13 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , six , requests-cache , pygments , pyquery +, cachelib +, appdirs }: buildPythonPackage rec { @@ -16,7 +19,8 @@ buildPythonPackage rec { sha256 = "3b322668606d29d8a841c3b28c0574851f512b55c33a7ceb982b6a98d82fa3e3"; }; - propagatedBuildInputs = [ six requests-cache pygments pyquery ]; + propagatedBuildInputs = [ six requests-cache pygments pyquery ] + ++ lib.optionals stdenv.isDarwin [ cachelib appdirs ]; preCheck = '' export HOME=$(mktemp -d) |