Skip to content

Instantly share code, notes, and snippets.

@tbenst
Created August 20, 2020 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbenst/16ef976bdb955dc1e8319c98776d7bcb to your computer and use it in GitHub Desktop.
Save tbenst/16ef976bdb955dc1e8319c98776d7bcb to your computer and use it in GitHub Desktop.
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: {
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