diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix index a6b02e970b0c..ad516b6e8d2b 100644 --- a/nixos/tests/slurm.nix +++ b/nixos/tests/slurm.nix @@ -45,7 +45,7 @@ let ''; in pkgs.runCommand "mpitest" {} '' mkdir -p $out/bin - ${pkgs.openmpi}/bin/mpicc ${mpitestC} -o $out/bin/mpitest + ${lib.getDev pkgs.mpi}/bin/mpicc ${mpitestC} -o $out/bin/mpitest ''; in { name = "slurm";