From 1aa35fb3778dfa3de6bbd38c0edd4e83af418c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 4 Aug 2026 15:46:11 -0700 Subject: [PATCH] python3Packages.dateparser: use writableTmpDirAsHomeHook --- pkgs/development/python-modules/dateparser/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dateparser/default.nix b/pkgs/development/python-modules/dateparser/default.nix index 56a7bf1423d2..92b2c9ef5be8 100644 --- a/pkgs/development/python-modules/dateparser/default.nix +++ b/pkgs/development/python-modules/dateparser/default.nix @@ -18,6 +18,7 @@ parsel, requests, ruamel-yaml, + writableTmpDirAsHomeHook, }: buildPythonPackage (finalAttrs: { @@ -61,13 +62,10 @@ buildPythonPackage (finalAttrs: { parsel requests ruamel-yaml + writableTmpDirAsHomeHook ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; - preCheck = '' - export HOME="$TEMPDIR" - ''; - # Upstream only runs the tests in tests/ in CI, others use git clone enabledTestPaths = [ "tests" ];