diff --git a/content.org b/content.org index 29411d8..9f4934f 100644 --- a/content.org +++ b/content.org @@ -2942,12 +2942,10 @@ project in full nix using [[https://github.com/nix-community/poetry2nix][poetry2 # this enables interactive plotting support with GTK overrides = poetry2nix.overrides.withDefaults (final: prev: { - matplotlib = with pkgs; prev.matplotlib.overridePythonAttrs ( - old: + matplotlib = with pkgs; prev.matplotlib.override { passthru.args.enableGtk3 = true; - } - ); + }; }); }; default = self.packages.${system}.yourPackage; diff --git a/site/content/posts/poetry2nix-development-flake-with-matplotlib-gtk-support.md b/site/content/posts/poetry2nix-development-flake-with-matplotlib-gtk-support.md index eada4b7..0708ddf 100644 --- a/site/content/posts/poetry2nix-development-flake-with-matplotlib-gtk-support.md +++ b/site/content/posts/poetry2nix-development-flake-with-matplotlib-gtk-support.md @@ -46,12 +46,10 @@ project in full nix using [poetry2nix](https://github.com/nix-community/poetry2n # this enables interactive plotting support with GTK overrides = poetry2nix.overrides.withDefaults (final: prev: { - matplotlib = with pkgs; prev.matplotlib.overridePythonAttrs ( - old: + matplotlib = with pkgs; prev.matplotlib.override { passthru.args.enableGtk3 = true; - } - ); + }; }); }; default = self.packages.${system}.yourPackage;