-
Notifications
You must be signed in to change notification settings - Fork 0
/
overlay.nix
28 lines (28 loc) · 1.22 KB
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
let
fv3gfs-fortran-src = builtins.fetchTarball {
url =
"https://github.com/ai2cm/fv3gfs-fortran/archive/2d0ffc194f1b2f4974fcb5b61ab0dcef0b839854.tar.gz";
sha256 = "1s6988s8kwpk2d3h5cs8p6avyswmbmxdf6aa516asdm2ga1fw442";
};
packageOverrides = import ./python.nix;
in self: super: rec {
# ensure that everything uses mpich for mpi
call_py_fort = self.callPackage ./call_py_fort { };
fms = self.callPackage ./fms { src = fv3gfs-fortran-src; };
esmf = self.callPackage ./esmf { };
nceplibs = self.callPackage ./nceplibs { };
fv3 = self.callPackage ./fv3 { src = fv3gfs-fortran-src; };
pfunit = self.callPackage ./pfunit { };
gridtools1 = self.callPackage ./gridtools/1.nix { };
gridtools2 = self.callPackage ./gridtools/2.nix { };
serialbox = self.callPackage ./serialbox { };
serialboxNoFortran = self.callPackage ./serialbox { enableFortran = false; };
python39 =
super.python39.override { packageOverrides = (packageOverrides self); };
python38 =
super.python38.override { packageOverrides = (packageOverrides self); };
python3 =
super.python3.override { packageOverrides = (packageOverrides self); };
python =
super.python.override { packageOverrides = (packageOverrides self); };
}