nixpkgs-unfree
nixpkgs-unfree copied to clipboard
numpy + scipy broken by default lapack / blas overrides
Describe the bug
nixpkgs-unfree saves me some hassles when importing pytorch in newer nixpkgs-unstable, as it has introduced an unfree dependency. However, somewhere along the line, numpy and scipy started picking up the blas overrides, causing them to fail to build as described here: https://github.com/NixOS/nixpkgs/issues/206866
To Reproduce
Steps to reproduce the behavior:
nix shell github:numtide/nixpkgs-unfree/nixos-unstable#python310Packages.numpy
Expected behavior
To be able to use numpy + scipy with nixpgkgs-unfree
Could we fix this by overriding the blas that gets passed to numpy scipy to be openblas instead?
I confirmed if I compile nixpkgs with allowUnfree
and cudaSupport
without the blas overrides I can get numpy working. It would be great if I could use nixpkgs-unfree but at the moment this is breaking my diffusers repo.
#27 should fix this since nixpkgs will now be unpatched.