From 496d755ddc0395e78b8d6db788a5a0f0c381f391 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Mon, 13 May 2024 11:10:29 -0400 Subject: [PATCH] fix typo --- content.org | 6 ++---- ...try2nix-development-flake-with-matplotlib-gtk-support.md | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) 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;