From c0810782a3ff205c16213c2c381447a6fd789d27 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 May 2023 17:46:37 +0300 Subject: [PATCH] copier: fix build on darwin --- pkgs/tools/misc/copier/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/copier/default.nix b/pkgs/tools/misc/copier/default.nix index 55d1ea6693e7..790af551db29 100644 --- a/pkgs/tools/misc/copier/default.nix +++ b/pkgs/tools/misc/copier/default.nix @@ -9,7 +9,11 @@ python3.pkgs.buildPythonApplication rec { owner = "copier-org"; repo = "copier"; rev = "v${version}"; - sha256 = "sha256-8lTvyyKfAkvnUvw3e+r9C/49QASR8Zeokm509jxGK2g="; + # Conflict on APFS on darwin + postFetch = '' + rm $out/tests/demo/doc/ma*ana.txt + ''; + hash = "sha256-i8HqMW36YtRxu/DLJWNiCfw6+ce3Gw8r8VBBo9l9aDI="; }; POETRY_DYNAMIC_VERSIONING_BYPASS = version;