From 8ca228bd9c4f50486a7e9a64ac6cd71caa472a32 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Mon, 15 Feb 2021 16:37:20 +0100 Subject: [PATCH] overrides: Add overrides to build rmfuse --- overrides.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/overrides.nix b/overrides.nix index b714ff0..7a5233f 100644 --- a/overrides.nix +++ b/overrides.nix @@ -46,6 +46,12 @@ self: super: } ); + anyio = super.anyio.overridePythonAttrs (old: { + postPatch = '' + substituteInPlace setup.py --replace 'setup()' 'setup(version="${old.version}")' + ''; + }); + astroid = super.astroid.overridePythonAttrs ( old: rec { buildInputs = (old.buildInputs or [ ]) ++ [ self.pytest-runner ]; @@ -847,6 +853,11 @@ self: super: } ); + pyfuse3 = super.pyfuse3.overridePythonAttrs (old: { + nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.pkg-config ]; + buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.fuse3 ]; + }); + pygame = super.pygame.overridePythonAttrs ( old: rec { nativeBuildInputs = [ @@ -1157,6 +1168,11 @@ self: super: ''; }; + + rmfuse = super.rmfuse.overridePythonAttrs (old: { + propagatedBuildInputs = (old.propagatedBuildInputs or [ ]) ++ [ self.setuptools ]; + }); + scipy = super.scipy.overridePythonAttrs ( old: if old.format != "wheel" then {