mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-05 22:48:39 +00:00
15 lines
443 B
Nix
15 lines
443 B
Nix
{pkgs}: let
|
|
my-python-packages = python-packages:
|
|
with python-packages; [
|
|
pip
|
|
mathlibtools
|
|
];
|
|
in let
|
|
packageOverrides = self: super: {
|
|
# Test failures on darwin ("windows-1252"); just skip pytest
|
|
# (required for elan)
|
|
beautifulsoup4 = super.beautifulsoup4.overridePythonAttrs (old: {pytestCheckPhase = "true";});
|
|
};
|
|
in
|
|
(pkgs.python3.override {inherit packageOverrides;}).withPackages my-python-packages
|