nbody: Fix infinite recursion

We want to override the previous layer (super), not the last one (self).
This commit is contained in:
Rodrigo Arias Mallo 2021-01-11 14:30:12 +01:00
parent afd333adef
commit 892fb35d27

View File

@ -96,7 +96,7 @@ let
nanos6+jemalloc as well. */ nanos6+jemalloc as well. */
customPkgs = bsc.extend (self: super: { customPkgs = bsc.extend (self: super: {
mpi = conf.mpi; mpi = conf.mpi;
nanos6 = self.nanos6.override { inherit enableJemalloc; }; nanos6 = super.nanos6.override { inherit enableJemalloc; };
}); });
in in
customPkgs.apps.nbody.override ({ customPkgs.apps.nbody.override ({