Created
August 20, 2020 00:11
-
-
Save tbenst/56c971c268ce03104307e9b04c54b291 to your computer and use it in GitHub Desktop.
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
let | |
nixpkgsSHA = "4fed373652870addb0b0cf809899bd0d49cfaf59"; # 2020-07-18 | |
pkgs = import (fetchTarball | |
"https://github.com/tbenst/nixpkgs/archive/${nixpkgsSHA}.tar.gz") { | |
system = builtins.currentSystem; | |
overlays = [ (self: super: rec { | |
hdf5 = super.hdf5.override { mpi = super.mpich; }; | |
pythonOverrides = python-self: python-super: rec { | |
h5py = python-super.h5py.override { | |
mpi4py = mpi4py; | |
}; | |
mpi4py = python-super.mpi4py.override { | |
mpi = super.mpich; | |
}; | |
}; | |
python3 = super.python3.override { | |
packageOverrides = self.pythonOverrides; | |
}; | |
}) ]; | |
}; | |
in | |
pkgs.stdenv.mkDerivation { | |
name = "circus"; | |
buildInputs = [ | |
pkgs.pythonPackages.h5py | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment