nbody: Fix infinite recursion
We want to override the previous layer (super), not the last one (self).
This commit is contained in:
parent
afd333adef
commit
892fb35d27
@ -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 ({
|
||||||
|
Loading…
Reference in New Issue
Block a user