diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-07-27 18:51:41 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-07-27 18:51:41 +0300 |
commit | eae54103cac6e381565c70b7ed8310f15b648c8b (patch) | |
tree | 4bceecec44c4b66f6abc304ec3564c7f8930a421 /pkgs/applications/science/molecular-dynamics | |
parent | 10e7c631c862270dca61be057525a8193e7f1967 (diff) |
lammps: always enable cuda opengl runpath support
Diffstat (limited to 'pkgs/applications/science/molecular-dynamics')
-rw-r--r-- | pkgs/applications/science/molecular-dynamics/lammps/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/science/molecular-dynamics/lammps/default.nix b/pkgs/applications/science/molecular-dynamics/lammps/default.nix index 728062a46865..5842efea44e8 100644 --- a/pkgs/applications/science/molecular-dynamics/lammps/default.nix +++ b/pkgs/applications/science/molecular-dynamics/lammps/default.nix @@ -7,6 +7,7 @@ , blas , lapack , cmake +, cudaPackages , pkg-config # Available list of packages can be found near here: # @@ -59,6 +60,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake pkg-config + # Although not always needed, it is needed if cmakeFlags include + # GPU_API=cuda, and it doesn't users that don't enable the GPU package. + cudaPackages.autoAddOpenGLRunpathHook ]; passthru = { |