Created
August 9, 2020 07:39
-
-
Save BenSchZA/b914ad243fe17e88bb594657f7b0b4ce to your computer and use it in GitHub Desktop.
Override Python nose package to solve `OSError: AF_UNIX path too long`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packageOverrides = self: super: { | |
# OSError: AF_UNIX path too long | |
nose = super.nose.overridePythonAttrs (oldAttrs: { !pkgs.stdenv.isDarwin; }); | |
}; | |
python = (pkgs.python36.override {inherit packageOverrides;}).withPackages (pkgs: with pkgs; [ | |
numpy # One of these packages depend on nose | |
pandas | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The tests for the nose package are still run. Is the override applied to the packages in
withPackages
option?