This commit is contained in:
Valentin Boettcher 2024-05-13 11:10:29 -04:00
parent e6058f7a07
commit 496d755ddc
No known key found for this signature in database
GPG key ID: E034E12B7AF56ACE
2 changed files with 4 additions and 8 deletions

View file

@ -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;

View file

@ -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;