about summary refs log tree commit diff
path: root/pkgs/applications/science/molecular-dynamics/gromacs
diff options
context:
space:
mode:
authorConnor Baker <connor.baker@tweag.io>2023-07-25 14:18:14 -0400
committerGitHub <noreply@github.com>2023-07-25 14:18:14 -0400
commit495875182e3e47056b11a4db2fc035b2d5c74b51 (patch)
tree96ec76cd2cd0c0d7fe9d9e9149a19e4be2b21d8f /pkgs/applications/science/molecular-dynamics/gromacs
parent62c111f29647a46829c576c162341814d18e9af5 (diff)
parent471dbe9bcfb844fb045f5591c35967f15e161657 (diff)
Merge pull request #224068 from SomeoneSerge/respect-config-cudaSupport
Respect global config.cudaSupport
Diffstat (limited to 'pkgs/applications/science/molecular-dynamics/gromacs')
-rw-r--r--pkgs/applications/science/molecular-dynamics/gromacs/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/science/molecular-dynamics/gromacs/default.nix b/pkgs/applications/science/molecular-dynamics/gromacs/default.nix
index a47dff4e3e87a..aa24fa6a5d380 100644
--- a/pkgs/applications/science/molecular-dynamics/gromacs/default.nix
+++ b/pkgs/applications/science/molecular-dynamics/gromacs/default.nix
@@ -1,7 +1,8 @@
 { lib, stdenv, fetchurl, cmake, hwloc, fftw, perl, blas, lapack, mpi, cudatoolkit
 , singlePrec ? true
+, config
 , enableMpi ? false
-, enableCuda ? false
+, enableCuda ? config.cudaSupport
 , cpuAcceleration ? null
 }: