Created
August 20, 2020 00:24
-
-
Save tbenst/6610f9577b4309ab7b2d97ee200ba56a 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: { | |
hdf5 = super.hdf5.override { mpi = super.mpich; }; | |
pythonOverrides = python-self: python-super: { | |
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 | |
]; | |
} |
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: { | |
hdf5 = super.hdf5.override { mpi = super.openmpi; }; | |
}) ]; | |
}; | |
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