From d844dedab4dcc1b906662788ab68ff860a2c9a64 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 27 Dec 2021 10:54:25 -0500 Subject: [PATCH] fix problem with the new cryptography build system --- default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/default.nix b/default.nix index 29fc4f4..a0b529e 100644 --- a/default.nix +++ b/default.nix @@ -39,6 +39,11 @@ in # this another way, dependencies have undetected dependencies, easier # to just use the wheel. collections-extended = "wheel"; + + # From nixpkgs or sdist, fails with + # cp: cannot stat 'benchmark/': No such file or directory + # cp: cannot stat 'tests/': No such file or directory + tomli = "wheel"; }; in rec { @@ -62,6 +67,12 @@ in foolscap == 0.13.1 configparser eliot + # undetected cryptography build dependency + # https://github.com/DavHau/mach-nix/issues/305 + setuptools_rust + # undetected tomli build dependency + # probably same underlying cause as cryptography issue + flit_core ''; postPatch = '' cat > src/allmydata/_version.py <<EOF -- GitLab